]> www.fi.muni.cz Git - bike-lights.git/commit
ambient light sensor: configurable # of readings
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Thu, 28 Mar 2013 21:13:58 +0000 (22:13 +0100)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Thu, 28 Mar 2013 22:05:33 +0000 (23:05 +0100)
commit541892c2955660bdd068dc7bc0a2611592f408d7
treec3a8987540cd8b01801b350a30dee3cd24df2f42
parent6193f6a3200efa660bbbe406e317fe7fa0473de0
ambient light sensor: configurable # of readings

Set the # of readings to 1, and decrease the shift value
for running average in order to get faster reaction.
firmware/adc.c
firmware/ambient.c
firmware/lights.h