Error with importing Counter from machine #9486
-
Hello all, I have a problem with importing the counter from the machine library. I use the Thonny IDE for programming a LilyGO TTGO T3 LoRa32 868MHz V1.6.1 ESP32 Microcontroller Board in MicroPython. I connect the device via a MicroUSB cable. I use MicroPython v1.14. When I run the following code:
I will get the following message: Traceback (most recent call last): I tried it on two independent PCs. Unfortunately, it did not work on either one of them. Any idea how I can solve this problem? Kind regards, Jonathan |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
The Counter class is not included in the machine module yet. There exists various PRs for that, but none of them is merged. If you want to use is, you have to build your own firmware. Open PRs: |
Beta Was this translation helpful? Give feedback.
The Counter class is not included in the machine module yet. There exists various PRs for that, but none of them is merged. If you want to use is, you have to build your own firmware. Open PRs: