You are reading a single comment by @n00b and its replies. Click here to read the full conversation.
  • Been trying to debug this for awhile, with this code:

    function onInit(){
        setInterval(function(){
            console.log("X");
        },1000)
    }
    

    upload to board, then

    save()
    

    disconnect usb and then reconnect, connect to terminal, nothing outputted. If I type

    load()
    

    then it the interval prints:

    >load()
    =undefined
    WARNING: --- gap_setScan 0
    
    WARNING: Scan stop failed
    WARNING: set rssi scan not implemeted yet
    
    WARNING: has central connection not implemented yet
    
    Loading 1746 bytes from flash...
    Running onInit()...
    X
    X
    X
    X
    X
    

    Pico immediately prints after reconnect without needing to manually kicking it. Im on v1.99. I'll try downgrade the firmware to see if it's a regression.

About

Avatar for n00b @n00b started