]> www.fi.muni.cz Git - bike-lights.git/commit
ambient.c: user-settable ambient light zone
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Thu, 4 Jul 2013 22:59:21 +0000 (00:59 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Thu, 4 Jul 2013 22:59:21 +0000 (00:59 +0200)
commitb235c2cde53066ab6afd280ccddacd866778c252
tree68b3c65d2dd7c0e416d721c54e3d84cc4b9f4aae
parent027218898e542b66566914ce787f4a0821b5f908
ambient.c: user-settable ambient light zone

User-settable parameter 0 is now the ambient light zone:
Value 0 means to use the ambient light sensor,
values 1 .. N_AMBIENT_ZONES represent the manually set light level.
firmware/ambient.c
firmware/buttons.c
firmware/lights.h