]> www.fi.muni.cz Git - bike-lights.git/commit
firmware: emulate higher resolution of PWM
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Thu, 29 Nov 2012 13:36:45 +0000 (14:36 +0100)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Thu, 29 Nov 2012 13:36:45 +0000 (14:36 +0100)
commit64a3d3a699cd60b7a6b4b06c5c38689975a3d460
tree967b98cdb056a7724f24805b6cafcea1262c933c
parent68424ad19806bd6f0b857e878bf632cf5851e7c5
firmware: emulate higher resolution of PWM

Emulate the sub-1 LSB resolution of PWM by updating the PWM values
in the timer interrupt routine
firmware/lights.h
firmware/pwm.c
firmware/tmr.c