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

Tone Function and IR Receiver #140

Open Edgineer10 opened 1 year ago

Edgineer10 commented 1 year ago

That program lags whenever you use the tone function with IR Receiver

urish commented 1 year ago

Hello, can you please add a link to an example project where we can see this?

Edgineer10 commented 1 year ago

Hello this is the link for the project. I tested it already in the actual board but didn't have any problem. It's just that in the simulation it crash. https://wokwi.com/projects/366648728318776321

urish commented 1 year ago

Thanks for providing the link!

When you say you tested it on an actual board, was that an Arduino Mega?

Also, did you compile it yourself or take the Wokwi compiled binary?

Edgineer10 commented 1 year ago

Yeah it was the actual one. I compiled it myself

urish commented 1 year ago

Can you please attach the .hex file that you compiled yourself and tested on the actual board?