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
462 stars 73 forks source link

Clock Prescale (CLKPR) support #68

Closed urish closed 3 years ago

urish commented 3 years ago

Writing to this register allows dividing (prescaling) the system clock by 1, 2, 4, 8, 16, 32, 64, 128 or 256. See table 8.16 in page 33 the datasheet.