]> www.fi.muni.cz Git - bike-lights.git/commit
lights.h: PWM_MAX for better measurements
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Wed, 21 Nov 2012 22:08:22 +0000 (23:08 +0100)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Wed, 21 Nov 2012 22:11:03 +0000 (23:11 +0100)
commit882a1052a66543451731cf54382e6765a376c358
tree988217015b0d17b2a3e3903a4d8cb22a611c27ed
parent5090774fd8ca593d3b247b099b3b6a40e837475e
lights.h: PWM_MAX for better measurements

The PWM frequency should be different than the ADC frequency (125 kHz)
in order to measure in different parts of the PWM cycle (I should have
added a low-pass filter to the ADC inputs, but whatever :-)
firmware/lights.h