using Timer on the wipy 3.0
-
Hi,
I'am having difficulties with the Timer on the wipy 3.0, I'm trying to follow the tutorial on https://docs.micropython.org/en/latest/wipy/tutorial/timer.html, I can import the module but when I try to initilize the Timer as shown in the tutorial I get this message:
>>> tim = Timer(1, mode=Timer.PERIODIC, width=32) Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: type object 'Timer' has no attribute 'PERIODIC'has anyone know what am I doing wrong?.
Thanks for your help
-
-
This post is deleted!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login