]> www.fi.muni.cz Git - bike-lights.git/commit
ambient: log minima and maxima
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Mon, 20 May 2013 21:47:05 +0000 (23:47 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Mon, 20 May 2013 21:47:05 +0000 (23:47 +0200)
commit3f38edc49796a8dd1d03c2dc302be42db2d97d50
treeca27f924a1daca081e3d8bdf7c2b91d35b5c0368
parentc30006aaf666f7cff3a6ab949c613c2f8cc6163b
ambient: log minima and maxima

In order to be able to tune the ambient light sensor better, I made
it to log the minimum and maximum values read for every three minutes
or so. When the log buffer fills, start over only after the next
off/on cycle.
firmware/ambient.c
firmware/lights.h
firmware/main.c
firmware/tmr.c