M5Core-Ink icon indicating copy to clipboard operation
M5Core-Ink copied to clipboard

shutdown(int seconds) not working

Open eliabieri opened this issue 4 years ago • 4 comments

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

eliabieri avatar Nov 27 '20 11:11 eliabieri

Hello @eliabieri

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

Thanks Felix

felmue avatar Nov 28 '20 14:11 felmue

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?

eliabieri avatar Nov 28 '20 16:11 eliabieri

Hi @eliabieri

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

Thanks Felix

felmue avatar Nov 28 '20 22:11 felmue

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

roberto1963 avatar Feb 12 '21 17:02 roberto1963