Hi all,
I followed the tutorial I2C_Light_Sensor for Sensor Controller Studio in which you will run and debug the full example code with the Sensor Controller Interface Driver (SCIF) on the CC2650 SensorTag + Debug DevPack in Code Composer Studio (CCS).
Everything works well but I don't understand this: when I am in CCS and I open the file scif.h under driver folder, I can read that the optical sensor address is:
#define SCIF_I2C_LIGHT_SENSOR_ALS_I2C_ADDR 138
tha is equal to 0x8A
If, instead, I open the file board.h I can read:
#define Board_OPT3001_ADDR (0x45)
So my question is: which one is the correct optical sensor address? Why there is this discrepancy?
The I2C address of a sensor should be independent from the rtos version used, am I right?
Thank you very much.
Regards,
Alessandro