Ultra Low Power (5uA) I2C Sensor With Ambient Light Sensing (ALS) + Capacitive Proximity/Touch + Hall Effect Sensor + Inductive Proximity (Metal Detect)
Dependencies: IQS621DisplayTerminal IQS62x mbed
Hello World! From Azoteq's IQS621 Ultra Low Power Multi-Sensor
This is a demo program for the Azoteq IQS621 ultra low power multi function sensor.
Diff: main.cpp
- Revision:
- 7:5161c542cdda
- Parent:
- 6:f64e7e8d5283
- Child:
- 9:37cf595b0f7d
diff -r f64e7e8d5283 -r 5161c542cdda main.cpp
--- a/main.cpp Fri May 12 17:26:45 2017 +0000
+++ b/main.cpp Fri May 12 23:17:03 2017 +0000
@@ -45,7 +45,7 @@
while(1) {
iqs62x.readIqsRegisters(0,NUMBER_OF_REGISTERS); // read all the registers
terminal.showStatus(iqs62x.I2Cspeed,iqs62x.I2CErrorCount); // show heading and number of I2C errors
- terminal.showRegisters(iqs62x.registers); // show IQS62x registers
+ terminal.showRegisters(iqs62x.registers, iqs62x.writeChanges); // show IQS62x registers & color-highlight changes in initialized registers
}
}
IQS621
IQS621-EVAL-1