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
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
10:b95dfd2d6d4d | 2014-07-09 | meriac | Added RGB_MASK declararation |
9:7bd80f4a965e | 2014-07-03 | meriac | Allowing to ignore values at the beginning of each block to ignore rise times low pass. |
8:88acb970df76 | 2014-07-03 | meriac | Positive ADC reading, adjusted speed to 732/s |
7:0d35392230be | 2014-07-03 | meriac | Lowered ADC frequency and oversampling count |
6:fc64a14a2f4a | 2014-06-28 | meriac | Fixed filtering |
5:1fed2b68e661 | 2014-06-28 | meriac | Added ADC value filtering to ignore ADC conversion errors |
4:0ffadc2caaf6 | 2014-06-27 | meriac | Fixed aggregation reset bug |
3:50e1ac3c56db | 2014-06-27 | meriac | Added callback support for asynchronous case |
2:4545984e62b6 | 2014-06-27 | meriac | Configurable LED on-state |
1:204db97d10c9 | 2014-06-25 | meriac | Fixed header license |
0:576e43bd193d | 2014-06-25 | meriac | moved rgb_sensor to separate library |