I really wanted to have an interactive Jupyter environemnt in which I could play around with Arduino commands and when I discovered that Arduino provides a good starting point with their ArduinoCore-API I started to draft this prototype.

I am using xeus-cling as a runtime environment to simulate an Arduino Development board and I have added the related implementation using C or the C++ std library.

The goal is finally to be able to provide different alternative implementations for accessing the pins
– Using wiringPI to be run on a Raspberry PI
– Output to a file from where it can be analysed
– Using a Stream interface to communicate with an real Arduino Device (e.g. via udp)
– Using some standard Linux userspace APIs for GPIO

I have a first working prototype ready but naturally there is still a lot to do:

Content

The project can be found on Github.


0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *