yiivon / avr8js

Arduino (8-bit AVR) simulator, written in JavaScript and runs in the browser / Node.js

Home Page:https://blog.wokwi.com/avr8js-simulate-arduino-in-javascript/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AVR8js

JavaScript implementation of the AVR 8-bit architecture

Build Status NPM Version Gitpod ready-to-code

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:

AVR8JS Walkthrough Video

Unofficial Examples

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.

License

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

About

Arduino (8-bit AVR) simulator, written in JavaScript and runs in the browser / Node.js

https://blog.wokwi.com/avr8js-simulate-arduino-in-javascript/

License:MIT License


Languages

Language:TypeScript 99.9%Language:JavaScript 0.1%