APDS-9130 library
Diff: Prox.h
- Revision:
- 1:159407640167
- Parent:
- 0:10fe9a5a884f
--- a/Prox.h Mon Jan 04 12:28:26 2016 +0000 +++ b/Prox.h Sat Jan 30 20:33:17 2016 +0000 @@ -11,11 +11,11 @@ Prox(PinName sda, PinName scl); - void ReadWord(char addr, char reg, uint8_t *data); + void ReadWord(char addr, char reg, uint16_t *data); void ReadByte(char addr, char reg, char *bytedata); void WriteByte(uint8_t addr, uint8_t reg, char data); void WriteByte(uint8_t addr, uint8_t reg); - uint8_t readProx(); + uint16_t readProx(); }; \ No newline at end of file