Macca
04/18/2023, 7:01 AMfloitsch
04/18/2023, 7:44 AMpin.wait_for
. However, for a rotary encoder that would probably be too slow.
I think the pulse_counter library is what you are looking for: https://libs.toit.io/pulse_counter/library-summaryfloitsch
04/18/2023, 7:47 AMMacca
04/18/2023, 7:50 AMMacca
04/18/2023, 7:50 AMfloitsch
04/18/2023, 7:50 AMMacca
04/18/2023, 7:51 AMaschober
04/27/2025, 5:27 AMkaxori
04/28/2025, 6:03 PM