Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PIO 1Hz example off-by-one cycle #55

Open
stigbjorlykke opened this issue Dec 15, 2022 · 0 comments · May be fixed by #56
Open

PIO 1Hz example off-by-one cycle #55

stigbjorlykke opened this issue Dec 15, 2022 · 0 comments · May be fixed by #56

Comments

@stigbjorlykke
Copy link

The pio_1hz.py example has a off-by-one cycle issue between pin high and pin low. The delays should be exact, even if it's insignificant for a LED blink in this IRQ example.

This Logic 2 capture shows the timing difference between pin high and pin low.
Logic2_pio_1hz_timing_measurements

stigbjorlykke added a commit to stigbjorlykke/pico-micropython-examples that referenced this issue Dec 15, 2022
stigbjorlykke added a commit to stigbjorlykke/pico-micropython-examples that referenced this issue Dec 15, 2022
@stigbjorlykke stigbjorlykke linked a pull request Dec 15, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant