Search found 2 matches
Search found 2 matches • Page 1 of 1
- Thu Dec 24, 2020 9:36 pm
- Forum: MicroPython pyboard
- Topic: How to use the TIMER in the PYBOARD
- Replies: 5
- Views: 410
Hello and sorry for my english. I'm trying to know more about using the TIMER in Pyboard if you can help me. I want to turn on and off a led connected to pin X3 with a TIMER set at 5hz. I wrote this code and this works , import pyb from pyb import Pin led=Pin("X3", Pin.OUT) tim = pyb.Timer(4) tim.in...