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
481 stars 78 forks source link

Timer issue while run into grbl, it's a difference with a uno block. #101

Closed yiivon closed 2 years ago

yiivon commented 3 years ago

I run this https://github.com/gnea/grbl/releases/download/v1.1h.20190825/grbl_v1.1h.20190825.hex with avr8js' demo, serial just output "e", it seems that there is something about timer's difference between avr8js and a truth arduino uno.

urish commented 3 years ago

Can you try on https://wokwi.com/arduino/new and then press "F1" and choose "Load HEX File and Start Simulation" and see if it works better?

yiivon commented 3 years ago

OMG!! !!! great job!! thank you very much!!! it's work!!

yiivon commented 3 years ago

But, can i do that as well as wokwi arduino simulation?

urish commented 3 years ago

Great!

Yes, it should be possible to achieve the same with AVR8js (that's what Wokwi uses). Are you using the latest version? 0.17.0?

urish commented 2 years ago

Closing due to lack of response. Feel free to comment if you have any more questions