Skip to content

whatdtech/MicroPython-Examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MicroPython-Examples

This repo features examples for MicroPython similar to Arduino.

###00.Basics

BareMinimum
A template that serves as a starting point

HelloWorld
Turns on LED 4 (the blue LED).

###01.LEDs

Blink

Replicates Arduino's Blink sketch exactly (uses .on() and .off() and loops)

BlinkWithoutDelay
Replicates Arduino's BlinkWithoutDelay sketch (uses .toggle() and .millis())

BlinkWithToggle
Same as Blink, but uses .toggle()

Fade
Similar to Arduino's Fade sketch

###02.Inputs

SimpleButton
Pull down button that toggles an LED

Potentiometer Simple analog input that controls an LED's intensity

About

Examples for MicroPython

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%