You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bug
This repository: https://github.com/bigjosh/TimerShot/blob/master/TimerShot.ino contains an example of single-shot mode for timer 2 to generate an accurate duration commanded pulse on pin 3.
When running this code in wokwi, rather than the expected pulse, we get a zero-length pulse in the logic analyzer (same date for the rising and the falling edges). In contrast, this code works well on a real Arduino UNO.
To Reproduce
Connect a wokwi logic analyser on pin 3 of simulated Arduino UNO and run the code above.
Expected behavior
A series of various length pulses should be observed on pin 3 (PD3).
Environment
OS: Windows 11
Browser: Firefox
Version: 121.0 (64 bits)
The text was updated successfully, but these errors were encountered:
The bug
This repository: https://github.com/bigjosh/TimerShot/blob/master/TimerShot.ino contains an example of single-shot mode for timer 2 to generate an accurate duration commanded pulse on pin 3.
When running this code in wokwi, rather than the expected pulse, we get a zero-length pulse in the logic analyzer (same date for the rising and the falling edges). In contrast, this code works well on a real Arduino UNO.
To Reproduce
Connect a wokwi logic analyser on pin 3 of simulated Arduino UNO and run the code above.
Expected behavior
A series of various length pulses should be observed on pin 3 (PD3).
Environment
The text was updated successfully, but these errors were encountered: