Naresh Krish
/
itracker-mbed-os-example-opt3001
Sample program on how to use the OPT3001 sensor on the RAKWirelss iTracker module
mbed-OPT3001/README.md@0:33cb2fa095df, 2018-02-12 (annotated)
- Committer:
- knaresh89
- Date:
- Mon Feb 12 05:06:24 2018 +0000
- Revision:
- 0:33cb2fa095df
Sample program on how to use the OPT3001 sensor on the RAKWireless iTracker module
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
knaresh89 | 0:33cb2fa095df | 1 | # mbed-OPT3001 |
knaresh89 | 0:33cb2fa095df | 2 | |
knaresh89 | 0:33cb2fa095df | 3 | mbed library for TI's OPT3001 light sensor. |
knaresh89 | 0:33cb2fa095df | 4 | |
knaresh89 | 0:33cb2fa095df | 5 | I2C frequency currently set at default of 200KHz. Feel free to modify as requried. Use i2c.frequency() function from mbed libs. |
knaresh89 | 0:33cb2fa095df | 6 | |
knaresh89 | 0:33cb2fa095df | 7 | I2C pins defined in *.cpp for STM32F7-DISCOVERY & NUCLEO_F429ZI boards. Please change as required for target platform. |
knaresh89 | 0:33cb2fa095df | 8 | |
knaresh89 | 0:33cb2fa095df | 9 | I2C address for sensor defined in *.h file. Please refer to the comments & change as required for target platform. |