With the current AVR8js version, the above code prints 4, while on silicone (and also in previous AVR8js versions) it prints 499.
This issue started happening since 0.14.7 release, which fixed #80.
It can be easily reproduced by going to the AVR8js Serial example, pasting the code above, installing version 0.14.7 of the avr8js package, and running the simulation.
Reproduction:
With the current AVR8js version, the above code prints
4
, while on silicone (and also in previous AVR8js versions) it prints499
.This issue started happening since 0.14.7 release, which fixed #80.
It can be easily reproduced by going to the AVR8js Serial example, pasting the code above, installing version 0.14.7 of the
avr8js
package, and running the simulation.