Skip to content

Commit 8e22844

Browse files
committed
Removed comments, this was sent to test
1 parent 5bd7c97 commit 8e22844

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

examples/Inkplate6COLOR/Advanced/DeepSleep/Inkplate6COLOR_Simple_Deep_Sleep/Inkplate6COLOR_Simple_Deep_Sleep.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const uint8_t *pictures[] = {picture1, picture2,
3232
// so we can easly select it by selecting index in array
3333

3434
#define uS_TO_S_FACTOR 1000000 // Conversion factor for micro seconds to seconds
35-
#define TIME_TO_SLEEP 600 // How long ESP32 will be in deep sleep (in seconds)
35+
#define TIME_TO_SLEEP 30 // How long ESP32 will be in deep sleep (in seconds)
3636
RTC_DATA_ATTR int slide = 0;
3737

3838
Inkplate display; // Create an object on Inkplate library and also set library into 3 Bit mode (gray)

src/boards/Inkplate6Color.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -396,16 +396,16 @@ void Inkplate::setIOExpanderForLowPower()
396396

397397
void Inkplate::sleepColorPanel()
398398
{
399-
Serial.println("In sleep colorpanel!");
399+
//Serial.println("In sleep colorpanel!");
400400

401401
delay(3000);
402-
Serial.println("JUST BEFORE SET PANEL DEEP SLEEP FALSE!");
402+
//Serial.println("JUST BEFORE SET PANEL DEEP SLEEP FALSE!");
403403
Serial.flush();
404404

405405
setPanelDeepSleep(false); // First, wake the panel back up
406406

407407
delay(3000);
408-
Serial.println("JUST BEFORE SENDING SLEEP STUFF!");
408+
//Serial.println("JUST BEFORE SENDING SLEEP STUFF!");
409409
Serial.flush();
410410

411411
// put the panel to sleep via command
@@ -415,7 +415,7 @@ void Inkplate::sleepColorPanel()
415415
delay(100); // Wait a bit until it's surely in sleep
416416

417417
delay(3000);
418-
Serial.println("JUST BEFORE SDCARD SLEEP!");
418+
//Serial.println("JUST BEFORE SDCARD SLEEP!");
419419
Serial.flush();
420420

421421

@@ -424,20 +424,20 @@ void Inkplate::sleepColorPanel()
424424
delay(10);
425425

426426
delay(3000);
427-
Serial.println("JUST BEFORE WRITING HIGH RST PIN!");
427+
//Serial.println("JUST BEFORE WRITING HIGH RST PIN!");
428428
Serial.flush();
429429

430430

431431
digitalWrite(EPAPER_RST_PIN, HIGH);
432432

433433
delay(3000);
434-
Serial.println("just before sleep hold en!");
434+
//Serial.println("just before sleep hold en!");
435435
Serial.flush();
436436

437437
gpio_deep_sleep_hold_en(); // Make sure RST pin stays high during sleep
438438

439439
delay(3000);
440-
Serial.println("just after sleep hold en!");
440+
//Serial.println("just after sleep hold en!");
441441
Serial.flush();
442442
}
443443
#endif

0 commit comments

Comments
 (0)