Basic library for the TCS34725, based off of several example programs and the Adafruit Arduino library
Dependents: MF_FUJIKO_BASE STEM_2019 STEM_2020
Diff: TCS34725.cpp
- Revision:
- 0:4796574af790
- Child:
- 1:06c9bbbdb8b0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TCS34725.cpp Thu Jan 19 18:53:40 2017 +0000 @@ -0,0 +1,25 @@ +#include "TCS34725.h" + +void i2cWrite8(uint8_t addr, char reg, char data){ + +} + +uint8_t i2cRead8(uint8_t addr, char reg){ + +} + +uint16_t i2cRead16(uint8_t addr, char reg){ + +} + +TCS34725_init(char intTime, char gain){ + +} + +TCS34725_config(char intTime, char gain){ + +} + +TCS34725_getColor(uint16_t *r, uint16_t *g, uint16_t *b, uint16_t *c){ + +} \ No newline at end of file