A collection of modules and examples for MicroPython.
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 or esp32 port.
Currently, this collection contains:
- accel - a fixed version of [staccel.py] from the main MicroPython
- encoder - a library for reading a rotary encoder connected to
- lcd - a library for interfacing with a HD44780-compatible LCD
- midi - a library for receiving and sending MIDI data via the UARTs
- [mrequests] - an evolution of
urequestsfrommicropython-lib
- netconfig - simple WiFi or ethernet network setup from JSON
- [picoredis] - a very mimimal Redis client library (not only)
- spimaster - a rudimentary library to communicate via SPI with
- untar - a very simple module to unpack an uncompressed tar
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].
[micropython]: http://micropython.org/ [micropython-lib]: https://github.com/micropython/micropython-lib [mit license]: http://opensource.org/licenses/MIT [mrequests]: https://github.com/SpotlightKid/mrequests/tree/master [picoredis]: https://github.com/SpotlightKid/picoredis/tree/master [pyboard]: https://store.micropython.org/#/products/PYBv1_1 [spislave]: https://github.com/esp8266/Arduino/tree/master/libraries/SPISlave [staccel.py]: https://github.com/micropython/micropython/blob/master/ports/stm32/boards/STM32F4DISC/staccel.py [stm32f4discovery]: http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/PF252419 [this repo]: https://github.com/manitou48/pyboard [utarfile]: https://github.com/micropython/micropython-lib/blob/master/utarfile/utarfile.py