Library to read and write Azoteq IQS6xx device registers via I2C.
Dependents: IQS620_HelloWorld IQS622_HelloWorld IQS624_HelloWorld IQS621_HelloWorld ... more
Library: IQS62x
Library to read and write Azoteq IQS6xx device registers via I2C.
Supported Devices
Handy Table of ProxFusion Device Features
ALS = Ambient Light Sensor PIR = Passive Infrared
Diff: IQS62x.cpp
- Revision:
- 11:4d6d1da5bd31
- Parent:
- 10:8fdac52881aa
- Child:
- 12:5a9bbbd6e312
diff -r 8fdac52881aa -r 4d6d1da5bd31 IQS62x.cpp
--- a/IQS62x.cpp Fri May 12 14:44:54 2017 +0000
+++ b/IQS62x.cpp Fri May 12 14:55:20 2017 +0000
@@ -39,7 +39,7 @@
#endif
// read N registers, starting at provided offset
-void IQS62xIO::readIqs(int start, int count){
+void IQS62xIO::readIqsRegisters(int start, int count){
memset(I2CBuffer,0x55,I2CBufferSize); // "clear" i2c receive buffer
waitForReady();
char i2c_start_address [1];
IQS624
IQS620A
IQS620A-EVAL-1
IQS621
IQS621-EVAL-1
IQS622
IQS622-EVAL-1
IQS624-EVAL-1