]> www.fi.muni.cz Git - bike-lights.git/commitdiff
Ambient values for 15k and 1M5 resistors
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Fri, 14 Sep 2012 20:24:46 +0000 (22:24 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Fri, 14 Sep 2012 20:24:46 +0000 (22:24 +0200)
firmware/ambient.c

index cbbef9e02a78d902ef606dad286ffa8cb90358da..ab28a20faf1ce95719cdd8ff4386ef9b90790af2 100644 (file)
@@ -7,7 +7,7 @@ volatile unsigned char ambient_zone;
 static unsigned char ambient_zone_set;
 
 static uint16_t ambient_zones[] = {
-       0x10, 0x18, 0x20, 0x40, 0x100, 0x400, 0x1000, 0x4000, 0xffff
+       0x60, 0x68, 0x70, 0xa0, 0x100, 0x1c0, 0x270, 0x290, 0xffff
 };
 #define N_AMBIENT_ZONES (sizeof(ambient_zones)/sizeof(ambient_zones[0]))