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

History

Added RGB_MASK declararation default tip

2014-07-09, by meriac [Wed, 09 Jul 2014 10:27:38 +0000] rev 10

Added RGB_MASK declararation


Allowing to ignore values at the beginning of each block to ignore rise times low pass.

2014-07-03, by meriac [Thu, 03 Jul 2014 17:24:41 +0000] rev 9

Allowing to ignore values at the beginning of each block to ignore rise times low pass.


Positive ADC reading, adjusted speed to 732/s

2014-07-03, by meriac [Thu, 03 Jul 2014 16:52:12 +0000] rev 8

Positive ADC reading, adjusted speed to 732/s


Lowered ADC frequency and oversampling count

2014-07-03, by meriac [Thu, 03 Jul 2014 09:30:13 +0000] rev 7

Lowered ADC frequency and oversampling count


Fixed filtering

2014-06-28, by meriac [Sat, 28 Jun 2014 16:02:24 +0000] rev 6

Fixed filtering


Added ADC value filtering to ignore ADC conversion errors

2014-06-28, by meriac [Sat, 28 Jun 2014 06:59:51 +0000] rev 5

Added ADC value filtering to ignore ADC conversion errors


Fixed aggregation reset bug

2014-06-27, by meriac [Fri, 27 Jun 2014 12:14:36 +0000] rev 4

Fixed aggregation reset bug


Added callback support for asynchronous case

2014-06-27, by meriac [Fri, 27 Jun 2014 11:36:15 +0000] rev 3

Added callback support for asynchronous case


Configurable LED on-state

2014-06-27, by meriac [Fri, 27 Jun 2014 07:21:51 +0000] rev 2

Configurable LED on-state


Fixed header license

2014-06-25, by meriac [Wed, 25 Jun 2014 14:59:12 +0000] rev 1

Fixed header license