• This does look pretty strange - if the power was getting disconnected then you'd expect the Pico to reboot as well, not the lights to just flicker. About all I could think (if it is a hardware problem) is that the Pico has been shorted out at some point and the diode that transfers power from USB got fried.

    As @Chris said, can you type dump() on the left-hand side and see what it says there?

    Also, you could try downgrading to the previous firmware to see if it really was the upgrade that caused the problem. Go here and find the version you want - files should be of the form espruino_1v##_pico_1r3_wiznet.bin. Then right-click on it, copy link, and paste it into the text box under 'Advanced Flashing' in the Web IDE's settings page.

About

Avatar for Gordon @Gordon started