3 ms·
Look into ArduPy, which lets you compile arduino libs as loadable python modules: ArduPy is a combination of Arduino and MicroPython. MicroPython uses the univ
by fxj 6y ago
Look into ArduPy, which lets you compile arduino libs as loadable python modules:
ArduPy is a combination of Arduino and MicroPython. MicroPython uses the universal Arduino API to control the hardware so that it can be compatible with new platforms quickly. With the help of the aip package manager we provided, you can transform your favorite Arduino library into a MicroPython library.
https://github.com/Seeed-Studio/ArduPy https://github.com/Seeed-Studio/ArduPy
It works very well on the Seeeduino XIAO (https://www.seeedstudio.com/Seeeduino-XIAO-Arduino-Microcontroller-SAMD21-Cortex-M0+-p-4426.html https://www.seeedstudio.com/Seeeduino-XIAO-Arduino-Microcont...) which is arduino compatible and costs $4,90 per piece. You can even get a grove shield for the same price and you are ready to go.