Is there any way to set the current count of the PCNT?
Is there any way to set the current count of the PCNT?
The count value is read only. ARGGG! Anyone know of any tricks to modify it besides counting pulses?
Re: Is there any way to set the current count of the PCNT?
If it isn't possible, is it possible to fix this in the future?
Re: Is there any way to set the current count of the PCNT?
Just subtract an offset from the threshold instead?
Re: Is there any way to set the current count of the PCNT?
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
Who is online
Users browsing this forum: No registered users and 93 guests