How to detect hang reason of the WiPy 2.0?
-
How to detect hang reason of the WiPy 2.0?
I blink of 3 leds in the loop
but after some (quite long) time it hang and possibly restart self without go into code again (it stop blink my led only internal rgb led blink every fev seconds blue).
this are my last ticks output on com port i output diagnostic information every 10 seconds:
4270427
4280428
4290429it is not releated to uart output - because i hang without it.
I add this output because it hang.
How to detect the reason of hang (it is not releated to code itself)
i do in loop something like this:while True: if tick-last_change>interval: led_state = not led_state led(led_state) last_change = tickreally simple code. Same for other 2 leds and for internal led
pycom.heartbeat(led_rgb_state) instead led(led_state)i do all on latest firmware and expansion board
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