4 Commits

Author SHA1 Message Date
Graeme Winter
72e41ad66f
Fix PIO count (#211)
Works fine currently for low frequency, breaks down at higher frequency e.g. 1MHz

Chased down with a scope to the 3 extra cycles needed for wait+1; mov; jmp
so account for these in demo program
2022-05-16 15:17:42 -05:00
Uri Shaked
34c3ade43e Fix pio_blink frequency calculation
Added missing parenthesis around the divisor. Verified using a logic analyzer and also in simulation:

https://wokwi.com/arduino/projects/300911723685085709
2021-07-12 09:05:47 -05:00
graham sanderson
614ee3f2d2 make pio-blink use correct sys clock value 2021-03-01 09:27:22 -06:00
graham sanderson
46078742c7 Initial Release 2021-01-20 16:45:01 -06:00