Skip to content

m3y54m/stm32f4-micropython-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

MicroPython on STM32F4 Discovery

Main Resources

Blinky Application

import pyb

# Define the pins to be used
greenLed = pyb.Pin('LED_GREEN', pyb.Pin.OUT_PP)
redLed = pyb.Pin('LED_RED', pyb.Pin.OUT_PP)
blueLed = pyb.Pin('LED_BLUE', pyb.Pin.OUT_PP)
orangeLed = pyb.Pin('LED_ORANGE', pyb.Pin.OUT_PP)

while true:
    
    # Turn on Green LED
    greenLed.value(1)
    pyb.delay(1000)
    # Turn off Green LED
    greenLed.value(0)
    pyb.delay(1000)

Other References

About

Getting started with MicroPython on STM32F4 Discovery borad

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published