Accidentally, I put machine.reset() right under if __name__ == "__main__":
instant brick...... its repaired, but all works on the pico w were lost.




great lesson.
1. be very careful on running main.py
2. backup files.
I don't much like the format of github for discussions of subjects. There doesn't seem to be a familiar "thread" or "topic" layout which is easy to follow. Instead, to me, it looks more like a free-for-all random approach. A bit like Facebook, but much less organised and intuitive.scruss wrote: ↑Sat Oct 08, 2022 6:26 pmPlease use Github Discussions - this site is no longer read by people who know what they're doing.
ooh, i'll have to check this out.scruss wrote: ↑Sat Oct 08, 2022 6:26 pmThere's no substitute for backups, but MicroPython_RenameMainDotPy.uf2 can often get your files back
Here is a user, who has used since year 2000 phpBB2, phpBB3, woltlab and vBulletin.Rissy wrote: ↑Mon Nov 14, 2022 1:33 pmI don't much like the format of github for discussions of subjects. There doesn't seem to be a familiar "thread" or "topic" layout which is easy to follow. Instead, to me, it looks more like a free-for-all random approach. A bit like Facebook, but much less organised and intuitive.