Toggle Navigation
Hatchery
Eggs
stm32prog
__init__.py
Users
Badges
Login
Register
MCH2022 badge?
go to mch2022.badge.team
__init__.py
raw
Content
import pca9555, time, easydraw pca9555.direction(1, True) pca9555.value(1, True) # Pull boot0 high pca9555.direction(0, True) pca9555.value(0, False) # Put STM32 in reset time.sleep(0.1) pca9555.value(0, True) # Take STM32 out of reset easydraw.messageCentered("STM32\nThe STM32 is now in bootloader mode", True)