Upload Arduino Sketches from Raspberry Pi
Summary of my bookmarked Github repositories from Apr 1st, 2019
piupdue is a Python package that allows you to upload a compiled Arduino Sketch to an Arduino Due from a Raspberry Pi using a USB connection. It is based on the Arduino BOSSA C++ source code. To install it, simply run "$ pip install piupdue". The Sketch file should be saved locally on the Pi as a ".cpp.bin" file. You can run piupdue from the command line with various options such as specifying the Sketch file and the port the Due is connected to. Additionally, you can use the package in a Python program by importing piupdue and using the Upload function. This package provides a convenient way to upload code from a Raspberry Pi to an Arduino Due, which is based on a 32-bit ARM core microcontroller.