Search found 1 match

by Jester
Wed Oct 29, 2014 1:10 pm
Forum: General Discussion and Questions
Topic: How to turn on and off a pwm pulsed IR LED
Replies: 2
Views: 4408

How to turn on and off a pwm pulsed IR LED

I will implement an infrared protocol with the pyboard. Therefore i need to turn on and off a pwm pulsed IR LED. What i did so far: class IrLed(object): def __init__(self, pinId, timerId, timerChannel, freq): self._timer = pyb.Timer(timerId, freq=freq * 2) self._timerChannel = timerChannel self._pin...