Last active
September 6, 2023 00:20
-
-
Save RobCranfill/8413eddb49265f5f640b84ef91ea4fe1 to your computer and use it in GitHub Desktop.
Put CircuitPython device into bootloader mode; useful on my QTPy that I broke the BOOTSEL button on!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import microcontroller | |
microcontroller.on_next_reset(microcontroller.RunMode.BOOTLOADER) | |
microcontroller.reset() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment