Hi all
The latest doc from the micropython shows the Counter Support for esp32.
https://micropython-tve.readthedocs.io/ ... unter.html
Unfortunately I get an error importing the Counter module. (from machine import Counter)
I have installed latest esp firmware (1.19.1).
I can not figure out why this does not work? Where can I find out from which firmware revision this should be supportet?
As far as I understand I can not manually install this module right?
I appreciate every help
Regards
Bartelime
Hardware Counter support
Re: Hardware Counter support
Counter and Encoder are not available in the current firmware. There are several PRs for it since more than a year, but not merged yet. There are so Python modules for that feature available, which may be good for purpose, depending on the frequency range. And it is also very easy to implement it yourself using the pin.irq() method.
Re: Hardware Counter support
Hi Roberthh
You are just great! Thanks for your fast response. That helps me a lot. So I will not loose more time in this documented Counter Module.
I will go with the irq variant, like you suggested.
Have a goog time
Regards from Switzerland
Bartelime
You are just great! Thanks for your fast response. That helps me a lot. So I will not loose more time in this documented Counter Module.
I will go with the irq variant, like you suggested.
Have a goog time
Regards from Switzerland
Bartelime