Basic library for the TCS34725, based off of several example programs and the Adafruit Arduino library
Dependents: MF_FUJIKO_BASE STEM_2019 STEM_2020
TCS34725.cpp
- Committer:
- mwilkens241
- Date:
- 2017-01-19
- Revision:
- 0:4796574af790
- Child:
- 1:06c9bbbdb8b0
File content as of revision 0:4796574af790:
#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){ }