4 posts • Page 1 of 1
The count value is read only. ARGGG! Anyone know of any tricks to modify it besides counting pulses?
If it isn't possible, is it possible to fix this in the future?
Just subtract an offset from the threshold instead?
There is an API called pcnt_counter_clear() that will reset the counter to zero.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32