]> www.fi.muni.cz Git - bike-lights.git/commitdiff
pwm: channel D is inverted
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Mon, 10 Sep 2012 19:52:00 +0000 (21:52 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Mon, 10 Sep 2012 19:59:28 +0000 (21:59 +0200)
This is to avoid power spikes when all three channels switch on.
We make channel D to switch on on OCR1D match, while other two
channels (A and B) switch off on OCR1A and OCR1B match, respectively.


No differences found