Ulta Low Power I2C Multi-Sensor: Capacitive Touch, Magnetic Field & Inductive Proximity.
Dependencies: IQS620DisplayTerminal IQS62x mbed
Fork of IQS620_HelloWorld by
Hello World! From Azoteq's IQS620 Ultra Low Power Multi-Sensor
This is an mbed hardware demo program for the Azoteq IQS620 ultra low power multisensor.
More details on the IQS620 (and verified mbed boards) on these component pages:
IQS620 Eval Kit board Connected to mbed LPC1768 board.
Diff: main.cpp
- Revision:
- 12:8c47972929a8
- Parent:
- 10:3f86cd2277cc
- Child:
- 13:22df25a61e14
diff -r ec335b94291b -r 8c47972929a8 main.cpp
--- a/main.cpp Sun May 14 20:32:32 2017 +0000
+++ b/main.cpp Sun May 14 20:43:32 2017 +0000
@@ -42,7 +42,7 @@
int main() {
terminal.helloMessage(false); // say hello but don't wait for a keypress
iqs62x.configure(); // configure the IC
- char * color = iqs62x.getTable(color_any_register_that_was_written_but_then_changed );
+ char * color = iqs62x.getTable( color_any_register_that_changed_in_the_previous_20_reads ); // show changes in color
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

IQS620A
IQS620A-EVAL-1