Skip to content

A collection of modules and examples for MicroPython running on an STM32F4DISCOVERY board

License

Notifications You must be signed in to change notification settings

ADenislebel/micropython-stm-lib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MicroPython-STM-Lib

A collection of Python modules and examples for MicroPython, targeted mainly at STM32F4-based boards, like the STM32F4DISCOVERY board or the original pyboard. Most modules also work on the MicroPython unix port or even other bare-metal ports, e.g. the esp8266 port.

Currently, this collection contains:

  • accel - a fixed version of staccel.py from the main MicroPython repoincluding examples.
  • encoder - a library for reading a rotary encoder connected to two digital input pins, including examples. Features gray code error checking, making software or hardware debouncing uneccessary in most cases.
  • lcd - a library for interfacing with a HD44780-compatible LCD controller, including examples.
  • midi - a library for receiving and sending MIDI data via the UARTs or the USB virtual serial interface, including examples.
  • picoredis - A very mimimal Redis client library (not only) for MicroPython.
  • spiflash - A module for using Winbond W25Q* SPI-attached flash memory chips with MicroPython (adapted from code found in this repo).
  • spimaster - a rudmentary library to communicate via SPI with an ESP826 module as the SPI slave, which runs an Arduino sketch using the SPISlave library.

Author

Except where otherwise noted, these modules and examples were written by Christopher Arndt.

License

Except where otherwise noted, the code is freely usable and distributable under the MIT License.

About

A collection of modules and examples for MicroPython running on an STM32F4DISCOVERY board

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%