CircuitPython Troubleshooting - Help Understand and Fix Common Problems w/Installation, Boards, & Mu
HTML-код
- Опубликовано: 18 янв 2023
- CORRECTION: Dan H from the CircuitPython team points out that after performing storage.erase_filesystem() to clean out files, you should NOT delete .fseventsd, .fseventsd/no_log, .metadata_never_index, and .Trashes. There are space-saving techniques used by CP to help prevent additional extra files from being stored on your device, so you can keep these files on your device after the erase_filesystem() command. Sorry for confusion & thx to Dan H for kindly reaching out with advice for all!
In this lesson I describe & show solutions for some of the most common CircuitPython install, board, and Mu problems that I've seen over the years I've spent teaching hundreds of in-person students to build electronics projects. Makers can be easily frustrated by gotchas, glitches, errors and quirks. Hopefully this lesson will help you overcome any of these issues, should you encounter them. Issues covered include: Bootloader & CIRCUITPY modes, power and data connectivity, Mu serial console & quirks, CircuitPlayground (Express & Bluefruit) indicator status lights, safe mode, deleting files, macOS hidden files, and getting help on the web via online documentation, Discord, and forums.
While we won't write much code, we'll learn vital concepts that will. help us work faster in future lessons.
This playlist is used in Prof. Gallaugher's Physical Computing course. All teachers, students, and other independent learners are welcome to use this content. If you find it helpful, PLEASE let me know! You are also most welcome to share with others and use this material in your own courses. For more info, including parts lists, suggestions for faculty, and more, see: gallaugher.com/physical-compu...
Thanks!
Wow! How super kind of you & very unexpected. Sincerest thanks. Will use for more hardware goodness. Cheers!
CORRECTION: Dan H from the CircuitPython team points out that after performing storage.erase_filesystem() to clean out files, you should NOT delete .fseventsd, .fseventsd/no_log, .metadata_never_index, and .Trashes. There are space-saving techniques used by CP to help prevent additional extra files from being stored on your device, so you can keep these files on your device after the erase_filesystem() command. Sorry for confusion & thx to Dan H for kindly reaching out with advice for all!
what to do if you did delete those files.... asking for a friend :(
Please tell us how to determine the version of circuitpython we have installed so we know which library version to install? Thanks.
Check out the example in the playlist showing the REPL. When you enter the REPL you'll see the CircuitPython version number. Look at about 1:04 at: ruclips.net/video/22Eeto1J4rA/видео.html
John, I have a question:
In your videos the CPB runs the code as soon as you hit the 'Save' button.
On my system it takes a while before the code starts. Sometimes it takes one or more seconds. I run Mu 1.2.0 on a Mac running macOS Sonoma 14.3.1
How come?
Is there a Mu setting to change this behaviour?
Unsure. I noticed the change and am unsure if it was a CircuitPython or MacOS update. You might check on Adafruit Discord.