m5stack / M5Core-Ink

M5Stack CoreInk Arduino Library
MIT License
44 stars 33 forks source link

shutdown(int seconds) not working #4

Open eliabieri opened 4 years ago

eliabieri commented 4 years ago

The shutdown function that takes the seconds parameter does not seem to work. The M5CoreInk wakes up after 2-3 sec. no matter what the chosen seconds value was

felmue commented 4 years ago

Hello @eliabieri

have you tried this sample? My M5CoreInk properly wakes up after 5 seconds.

Thanks Felix

eliabieri commented 4 years ago

I saw that some bug fixed were made since V0.0.1. But even after switching to the master version of the library, M5.shutdown(5) still wakes up again well before the 5 seconds expire.

@felmue are you using V0.0.1 or master?

felmue commented 4 years ago

Hi @eliabieri

I am using the master branch and the example I linked above.

Thanks Felix

roberto1963 commented 3 years ago

Hi, I tested the M5.shutdown function and it has the same problem: no matter how long is the delay value , it wakes up about 3 sec after shutdown. Also, the first shutdown doesn't work. It works on the second one and the following ...

Thanks Roberto