/avr8js

AVR 8-Bit simulation in JavaScript

Primary LanguageTypeScriptMIT LicenseMIT

AVR8js

JavaScript implementation of the AVR 8-bit architecture

Build Status

Running the demo project

The demo project allows you to edit Arduino code, compile it, and run it in the simulator. It also simulates 2 LEDs connected to pins 12 and 13 (PB4 and PB5).

To run the demo project, check out this repository, run npm install and then npm start.

Running the tests

Run the tests once:

npm test

Run the tests of the files you modified since last commit (watch mode):

npm run test:watch

License

Copyright (C) 2019, Uri Shaked. The code is released under the terms of the MIT license.