M monki Active Member Licensed User Longtime User Jul 27, 2016 #1 Hi someone knows how to to Wemos d1 Mini Board enable the deep sleep mode
Erel B4X founder Staff member Licensed User Longtime User Jul 28, 2016 #2 This is the code: B4X: Private Sub DeepSleep(ms As ULong) RunNative("deepSleep", ms * 1000) End Sub #if C void deepSleep(B4R::Object* o) { ESP.deepSleep(o->toULong()); } #end if However it also requires some wiring: http://www.esp8266.com/viewtopic.php?f=32&t=6763 Upvote 0
This is the code: B4X: Private Sub DeepSleep(ms As ULong) RunNative("deepSleep", ms * 1000) End Sub #if C void deepSleep(B4R::Object* o) { ESP.deepSleep(o->toULong()); } #end if However it also requires some wiring: http://www.esp8266.com/viewtopic.php?f=32&t=6763
M monki Active Member Licensed User Longtime User Jul 28, 2016 #3 Wow, Many Thanks for the fast answer. I will testet Tomorrow. monki Upvote 0