Simple blink script fails rarely and randomly?
Posted: Mon Aug 08, 2022 10:36 pm
Simple blink script fails rarely and randomly?
The script runs, but the LED is never turned on or off it seems. To get it to work again, I have to remove power from the Pico W by removing USB cable. Then after USB cable insert, and Pico boot, return of REPL, the script will work until it does not again. This has happened 3 or 4 times.
I am running a recent nightly build, rather than the stable build. Here is the question, is there a way to enable lower level logging or something to see if that illustrates what is happening? Sure, if I install DEBUG pins, that is just a serial console connection via USB base UART right?
But was thinking but trying out this https://github.com/majbthrd/pico-debug Any one use this?
Code: Select all
#
# Test On Board Diode
#
from machine import Pin
from time import sleep
#
thePin=Pin('LED', Pin.OUT, value=0)
thePin.value(1)
sleep(1)
thePin.value(0)
I am running a recent nightly build, rather than the stable build. Here is the question, is there a way to enable lower level logging or something to see if that illustrates what is happening? Sure, if I install DEBUG pins, that is just a serial console connection via USB base UART right?
But was thinking but trying out this https://github.com/majbthrd/pico-debug Any one use this?