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 Onportion 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. -
@DDA is that a typo in your command? it should wlan.deinit()
-
@Steve-Williams : Yes, it was a typo above but not in my actual code implemented. Thanks for catching that.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login