Vishay VEML6040 Color RGB sensor I2C driver library
Dependents: test_VEML6040 testSensor
Diff: VEML6040.h
- Revision:
- 1:5540b216acfc
- Parent:
- 0:e6e6107c659e
- Child:
- 3:c6614597c135
--- a/VEML6040.h Fri Feb 05 02:21:10 2016 +0000 +++ b/VEML6040.h Wed Mar 08 04:45:35 2017 +0000 @@ -35,12 +35,25 @@ float getG(void) ; // return float value of Green float getB(void) ; // return float value of Blue float getW(void) ; // return float value of White +float getX(void) ; // return float value of X +float getY(void) ; // return float value of Y +float getZ(void) ; // return float value of Z +float getCIEX(void) ; // return float value of CIE1931_x +float getCIEY(void) ; // return float value of CIE1931_y + void getCOLORConf(uint8_t *colorconf) ; void setCOLORConf(uint8_t colorconf) ; +// void getX(uint8_t *X) ; +// void getY(uint8_t *Y) ; +// void getZ(uint8_t *Z) ; void getRData(uint16_t *rdata) ; void getGData(uint16_t *gdata) ; void getBData(uint16_t *bdata) ; void getWData(uint16_t *wdata) ; +// void getCCTiData(uint16_t *cctidata) ; +float getCCTiData(void) ; +// void getCCTData(uint16_t *cctdata) ; +float getCCTData(void) ; // void cmdRead(uint8_t cmd, uint8_t *data, uint8_t numdata = 2) ; // void cmdWrite(uint8_t cmd, uint8_t *data, uint8_t numdata = 2) ;