blob: bd5bc8a970be1efec310dfd6dbdbf0c7604807d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# AVR8js
JavaScript implementation of the AVR 8-bit architecture
[](https://travis-ci.org/wokwi/avr8js)
[](https://www.npmjs.com/package/avr8js)
## 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`.
### Walkthrough Video Tutorial
A step-by-step video tutorial showing how to build a simple Arduino simulator using AVR8js and React:
[](https://youtu.be/fArqj-USmjA)
## 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
```
For more information, please check the [Contributing Guide](CONTRIBUTING.md).
## License
Copyright (C) 2019, 2020 Uri Shaked. The code is released under the terms of the MIT license.
|