Driver for an LTR-501ALS ambient light sensor.
All correct at time of writing, but as always, manufacturers love to move things around on their website.
http://optoelectronics.liteon.com/en-global/Led/LED-Component/Detail/519
This code has been tested using an Olimex MOD-LTR501-ALS:
http://www.olimex.com/Products/Modules/Sensors/MOD-LTR-501ALS
This is plugged into a custom CoreProto rivet and plugged into a SenseCore:
http://soldercore.com/products/sensecore/
And finally installed on a SolderCore:
http://soldercore.com/products/soldercore/
Constants | |
LTR501ALS_I2C_ADDR | LTR-501ALS I2C address |
Functions | |
ltr501als_initialize_i2c | Initialize sensor on I2C bus |