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
Revision 11:4d6d1da5bd31, committed 2017-05-12
- Comitter:
- AzqDev
- Date:
- Fri May 12 14:55:20 2017 +0000
- Parent:
- 10:8fdac52881aa
- Child:
- 12:5a9bbbd6e312
- Commit message:
- renamed to readIqsRegisters()
Changed in this revision
| IQS62x.cpp | Show annotated file Show diff for this revision Revisions of this file |
| IQS62x.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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];
--- a/IQS62x.h Fri May 12 14:44:54 2017 +0000
+++ b/IQS62x.h Fri May 12 14:55:20 2017 +0000
@@ -38,6 +38,6 @@
void writeRegister(int address, int data); // write a byte to a register
void configure(); // write configuration registers of the IQS62x
void readAll(); // read all registers from the IQS62x
- void readIqs(int start, int count); // starting at "start" read count registers
+ void readIqsRegisters(int start, int count); // starting at "start" read count registers
void waitForReady(); // wait for IQS62x ready signal
};
\ No newline at end of file
IQS624
IQS620A
IQS620A-EVAL-1
IQS621
IQS621-EVAL-1
IQS622
IQS622-EVAL-1
IQS624-EVAL-1