Rename CIRCUITPY drive to something newFor instance, if you have multiple of the same device. The label can be up to 11 characters. This goes in boot.py not code.py and you must powercycle board.# this goes in boot.py not code.py! new_name = "TRINKEYPY0" import storage storage....
Simply install CircuitPython on a supported USB board usually via drag and drop and then edit a code.py file on the CIRCUITPY drive. The code will automatically reload. No software installs are needed besides a text editor (we recommend Mu for beginners.) Starting with CircuitPython 7.0.0, ...
First step in debugging any microcontroller is to open the serial monitor, we can do that using tools likescreen,putty, or insideThonnyIDE. If the computer cannot detect the board's drive, is unable to read/write, or the drive name changed we need to: Reset the board by plugging again ...
Simply install CircuitPython on a supported USB board usually via drag and drop and then edit a code.py file on the CIRCUITPY drive. The code will automatically reload. No software installs are needed besides a text editor (we recommend Mu for beginners.) Starting with CircuitPython 7.0.0, ...
Normally, CircuitPython restarts anytime the CIRCUITPY drive is written to. This is great normally, but is frustrating if you want your code to keep running, and you want to control exactly when a restart happens.import supervisor supervisor.runtime.autoreload = False # CirPy 8 and above #...
So one way to speed the REPL up is to hide the displayio.Group that contains all the REPL output. (From user @argonblue in the CircuitPython Discord chat)import board display = board.DISPLAY display.root_group.hidden = True # and to turn it back on display.root_group.hidden = False...
So one way to speed the REPL up is to hide the displayio.Group that contains all the REPL output. (From user @argonblue in the CircuitPython Discord chat)import board display = board.DISPLAY display.root_group.hidden = True # and to turn it back on display.root_group.hidden = False...
Rename CIRCUITPY drive to something newFor instance, if you have multiple of the same device. The label can be up to 11 characters. This goes in boot.py not code.py and you must powercycle board.# this goes in boot.py not code.py! new_name = "TRINKEYPY0" import storage storage....