wokwi / avr8js

Arduino (8-bit AVR) simulator, written in JavaScript and runs in the browser / Node.js
https://blog.wokwi.com/avr8js-simulate-arduino-in-javascript/
MIT License
463 stars 73 forks source link

Implement Output Compare for Timers #4

Closed urish closed 4 years ago

urish commented 4 years ago

Compare timer value with OCRA / OCRB on each timer update. This is require for Arduino's tone() function, for instance.