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.
This code has been tested using an Olimex MOD-LTR501-ALS:
This is plugged into a custom CoreProto rivet and plugged into a SenseCore:
And finally installed on a SolderCore:
|LTR501ALS_I2C_ADDR||LTR-501ALS I2C address|
|ltr501als_initialize_i2c||Initialize sensor on I2C bus|