WLAN Denit or Disable
-
Re: machine.idle()
I disabled the WLAN to save power:from network import WLAN wlan=WLAN() wlan.deinit()
But on injecting the wlan.deinit() to my code, my whole working code which primarily uses LTE() crashes. Even :
pycom.heartbeat(False) pycom.rgbled(0x0000CC) # BLUE LED Power On
portion of code fails to work!!
I am using GPY on Hologram SIM with 1.18.3, any other newer firmware results in the LTE connection to be too slow.
-
@Steve-Williams : Yes, it was a typo above but not in my actual code implemented. Thanks for catching that.
-
@DDA is that a typo in your command? it should wlan.deinit()