Discrete RGB colour sensor using a colour LED flashing at high speed and a monochrome LDR (light dependent resistor) for detecting the colour via ADC conversion. The library implements interrupt driven ADC conversion at high speed (370 RGB readings per second, 128 times oversampling per channelfor noise reduction). The detection can optionally run in background.
Dependents: rgb_sensor_buffer discrete_rgb_color_sensor_example
Revisions of rgb_sensor.h
Revision | Date | Message | Actions |
---|---|---|---|
7:0d35392230be | 2014-07-03 | Lowered ADC frequency and oversampling count | File Diff Annotate |
6:fc64a14a2f4a | 2014-06-28 | Fixed filtering | File Diff Annotate |
5:1fed2b68e661 | 2014-06-28 | Added ADC value filtering to ignore ADC conversion errors | File Diff Annotate |
3:50e1ac3c56db | 2014-06-27 | Added callback support for asynchronous case | File Diff Annotate |
2:4545984e62b6 | 2014-06-27 | Configurable LED on-state | File Diff Annotate |
1:204db97d10c9 | 2014-06-25 | Fixed header license | File Diff Annotate |
0:576e43bd193d | 2014-06-25 | moved rgb_sensor to separate library | File Diff Annotate |