Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pschatzmann/arduino-emulator
A simple Arduino Emulator that can be used in Windows, Linux or OS/X
https://github.com/pschatzmann/arduino-emulator
Last synced: 3 months ago
JSON representation
A simple Arduino Emulator that can be used in Windows, Linux or OS/X
- Host: GitHub
- URL: https://github.com/pschatzmann/arduino-emulator
- Owner: pschatzmann
- Created: 2020-12-11T07:45:50.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-26T19:38:53.000Z (8 months ago)
- Last Synced: 2024-10-11T13:36:34.344Z (3 months ago)
- Language: C++
- Homepage:
- Size: 1.65 MB
- Stars: 35
- Watchers: 5
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# An Arduino C++ Emulator Library
## Using this Project as a library
If you have an Arduino Sketch that you want to run e.g in Linux or OS/X you can include this library with cmake.
Here is an [example cmake file](https://github.com/pschatzmann/arduino-audio-tools/blob/main/examples/examples-desktop/generator/CMakeLists.txt) for a [Arduino Audio Sketch](https://github.com/pschatzmann/arduino-audio-tools/tree/main/examples/examples-desktop/generator)).## Jupyter
I really wanted to have an interactive [Jupyter](https://jupyter.org/) environemnt in which I could play around with [Arduino](https://www.arduino.cc/) commands and when I discovered that Arduino provides a good starting point with their [ArduinoCore-API](https://github.com/arduino/ArduinoCore-API/tree/105276f8d81413391b14a3dc6c80180ee9e33d56) I decided to start this project.
I am using [xeus-cling](https://github.com/jupyter-xeus/xeus-cling) as a runtime environment to simulate an Arduino Development board and I have added the missing implementation using C or the C++ std library.
Here is a quick demo:
- [Setup](01-Setup.ipynb)
- [Introduction into some Basic Commands](02-BasicCommands.ipynb)
- [The Network Stack](03-Network.ipynb)
- [Using Pins](04-Pins.ipynb)
- [Using Serial](05-Serial.ipynb)## Documentation
The generated [Class documentation](https://pschatzmann.github.io/Arduino-Emulator/html/annotated.html).