Commit Graph

5 Commits

Author SHA1 Message Date
9e158c13fd Rough parameter tuning + reduced flickering
* rough parameter tuning for TEPT4400 light sensor
* reduced flickering at low brightness values by reducing number of brightness
  levels
2012-01-06 22:32:48 +01:00
fc2494631a Added option to skip selftest
Set #define SKIPSELFTEST 1 to skip selftest. Saves a lot of time while
developing / debugging.
2012-01-05 22:05:24 +01:00
6cf277c1fe Ignore first sample from ADC
ADC of AVR contains a 'bug' that causes first sample to be corrupt. Fixed in
code now.
2012-01-04 23:13:05 +01:00
ff698171aa Implemented dimming based on amount of ambient light.
Requires a phototranistor (TEPT4400) and series resistor (I used 2.2 kOhm) on
ADC0 (pin 23). Range is quite limited though, so will probably need to modify
hardware a bit and do some more software tuning.
2012-01-04 23:01:43 +01:00
cc6c0940f6 Port to Arduino 1.0
* renamed .pde files to .ino
* adapted source and makefiles
2011-12-30 22:43:48 +01:00