Skip to content

Arduino Simulator in JavaScript

License

Notifications You must be signed in to change notification settings

lrusso/ArduinoSimulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5f8eac4 · Feb 10, 2024

History

41 Commits
Feb 10, 2024
Feb 10, 2024
Dec 24, 2023
Feb 10, 2024
Dec 24, 2023
Dec 24, 2023
Dec 24, 2023
Dec 24, 2023
Dec 24, 2023
Dec 24, 2023
Dec 24, 2023
Feb 9, 2024
Feb 9, 2024
Jan 6, 2024

Repository files navigation

Arduino Simulator

Arduino Simulator in JavaScript.

alt screenshot

Web:

https://lrusso.github.io/ArduinoSimulator

Demo using digital and analog pins:

https://lrusso.github.io/ArduinoSimulator/demo1.html

Demo using the Serial monitor:

https://lrusso.github.io/ArduinoSimulator/demo2.html

Demo using the EEPROM (work in progress):

https://lrusso.github.io/ArduinoSimulator/demo3.html

How to set a default sketch in the simulator?

Create the JavaScript DEFAULT_SKETCH variable with your Sketch and put it in the HTML file, like it was done in the demo1.html file.

Deploying the project

  • Build the Web App and place the files in the .github/pages folder.
  • Commit and push the changes to the main branch.
  • A workflow will be triggered that will publish those changes.