Search found 2 matches

by toor64
Thu Dec 24, 2020 11:18 pm
Forum: MicroPython pyboard
Topic: How to use the TIMER in the PYBOARD
Replies: 5
Views: 410

Re: How to use the TIMER in the PYBOARD

damn, I'm just stupid :-) Thanks dhylands
by toor64
Thu Dec 24, 2020 9:36 pm
Forum: MicroPython pyboard
Topic: How to use the TIMER in the PYBOARD
Replies: 5
Views: 410

How to use the TIMER in the PYBOARD

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...