MicroPython example code
Python
Latest commit 6412b92 Nov 28, 2016 @dhylands Added print_exc.py
Permalink
Failed to load latest commit information.
teensy Added examples for elapsed_millis and elapsed_micros Sep 28, 2014
LICENSE Initial commit Aug 15, 2014
README.md Some example code I've written for MicroPython Aug 15, 2014
Tach.py Added Tach.py Apr 28, 2015
accel_test.py Some example code I've written for MicroPython Aug 15, 2014
af_test.py Examples for dumping pins (pins_af.py is generated) Aug 18, 2014
atomic.py Updated atomic.py to agree with the new disable/enable_irq Nov 27, 2015
bioloid.py Added bioloid.py Nov 21, 2015
bluetooth_host.py Added bluetooth samples. Dec 16, 2014
bluetooth_pyboard.py Added bluetooth samples. Dec 16, 2014
boot-cdc-only.py Added various boot.py examples Nov 4, 2015
boot-cdc.py Added various boot.py examples Nov 4, 2015
boot-hid.py Added various boot.py examples Nov 4, 2015
boot-msc.py Added various boot.py examples Nov 4, 2015
boot.py Added pyb.usb_mode call Aug 26, 2015
boot_switch.py Add boot_switch.py a script for selecing the USB mode at boot time. Oct 3, 2015
colors.py Some example code I've written for MicroPython Aug 15, 2014
counter_perf.py Added counter_perf.py Oct 10, 2015
elapsed.py Added examples for elapsed_millis and elapsed_micros Sep 28, 2014
encoder.py Added encoder.py Jul 31, 2015
encoder2.py Added quadrature encoder test files. Mar 9, 2015
encoder3.py Added quadrature encoder test files. Mar 9, 2015
extint_toggle.py Added extint_toggle.py Jun 10, 2016
float_test.py Added float_test. Aug 23, 2014
gated.py Fixed a couple of typos in gated.py Jan 14, 2015
grove_temp.py Added grove_temp.py Sep 16, 2016
heartbeat.py Some example code I've written for MicroPython Aug 15, 2014
heartbeat_fade.py Some example code I've written for MicroPython Aug 15, 2014
heartbeat_fade_irq.py Some example code I've written for MicroPython Aug 15, 2014
heartbeat_irq.py Some example code I've written for MicroPython Aug 15, 2014
ic_test.png Added logic analyzer output ic_test.py Sep 15, 2014
ic_test.py Updated examples per latest code changes Sep 19, 2014
ic_test2.png Added logic analyzer output ic_test.py Sep 15, 2014
keys.py Some example code I've written for MicroPython Aug 15, 2014
micros_test.py Added micros_test.py Aug 23, 2014
oc_test.png Added oc_test logic analyzer output. Sep 15, 2014
oc_test.py Updated examples per latest code changes Sep 19, 2014
pin_dump.py Some example code I've written for MicroPython Aug 15, 2014
pin_test.py Some example code I've written for MicroPython Aug 15, 2014
pin_test_teensy.py Some example code I've written for MicroPython Aug 15, 2014
pins.py Examples for dumping pins (pins_af.py is generated) Aug 18, 2014
pins_af.py Examples for dumping pins (pins_af.py is generated) Aug 18, 2014
poll_uart.py Added poll_uart example Apr 5, 2016
print_exc.py Added print_exc.py Nov 28, 2016
pwm_test.png Updated pwm_test and added logic analyzer output. Sep 15, 2014
pwm_test.py Fixed typo that prevented execution. Feb 3, 2015
pwm_test2.png Add pwm_test2.py and png which shows 4 channels of PWM on a logic ana… Dec 3, 2015
pwm_test2.py Add pwm_test2.py and png which shows 4 channels of PWM on a logic ana… Dec 3, 2015
readinto.py Added readinto.py example Apr 21, 2015
rotary.py Added rotary.py Aug 12, 2015
sd_check.py Added sd_check.py Aug 26, 2014
sync_rtc.py Added sync_rtc.py May 13, 2016
tabulate.py Some example code I've written for MicroPython Aug 15, 2014
term_size.py Some example code I've written for MicroPython Aug 15, 2014
test_ctrl_c.py Added test_ctrl_c.py Nov 4, 2015
threads.py Some example code I've written for MicroPython Aug 15, 2014
uctypes_test.py Some example code I've written for MicroPython Aug 15, 2014

README.md

upy-examples

MicroPython example code

This repository contains small examples that I've written for MicroPython and want to keep around as a reference.