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.h
- Revision:
- 7:5e7ea07265d9
- Parent:
- 6:89bdb6f6a5c1
- Child:
- 10:8fdac52881aa
diff -r 89bdb6f6a5c1 -r 5e7ea07265d9 IQS62x.h
--- a/IQS62x.h Wed Feb 08 02:13:58 2017 +0000
+++ b/IQS62x.h Fri May 12 01:36:05 2017 +0000
@@ -1,6 +1,6 @@
// A class library for Azoteq IQS62x devices
-// More info on IQS624 sensor IC: http://bit.ly/IQS624_info
+// More info on IQS624 sensor IC: http://www.azoteq.com/products/proxfusion/iqs624?mbed
// IQS624 1-minute youtube video: http://bit.ly/IQS624Video
@@ -35,6 +35,7 @@
char * registers; // pointer to I2C read buffer
IQS62xIO(); // constructor
+ 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 waitForReady(); // wait for IQS62x ready signal
IQS624
IQS620A
IQS620A-EVAL-1
IQS621
IQS621-EVAL-1
IQS622
IQS622-EVAL-1
IQS624-EVAL-1