m5stack / m5-docs

The URL of M5Stack Official Documents:
http://docs.m5stack.com
MIT License
214 stars 79 forks source link

CoreInk M5.shutdown() #172

Closed ckuehnel closed 3 years ago

ckuehnel commented 3 years ago

I was going my first steps w/CoreInk. ESP32 Deep Sleep didi not work and M5.shutdown(seconds) give an error:

E:\Arduino\CoreInk_EnvII_Unit\CoreInk_EnvII_Unit.ino: In function 'void setup()': CoreInk_EnvII_Unit:110:6: error: 'class M5CoreInk' has no member named 'shutdown' M5.shutdown(TIME_TO_SLEEP);

Gitshaoxiang commented 3 years ago

maybe the lib you used is not the last version.