Ulta Low Power I2C Multi-Sensor: Capacitive Touch, Magnetic Field & Inductive Proximity.

Dependencies:   IQS620DisplayTerminal IQS62x mbed

Fork of IQS620_HelloWorld by Azq Dev

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:

Components / IQS620A
Ultra low power sensor for magnetic field, capacitive touch and inductive proximity. Empowers next-generation user interfaces.

Low Cost Evaluation Board For Azoteq IQS620A ultra low power sensor for magnetic field, capacitance, inductive proximity and temperature. Empowers next-generation user interfaces.


/media/uploads/AzqDev/iqs620-mbed-lpc1768-azoteq-touch-magnetic-inductive-temperature-sensor.gif
IQS620 Eval Kit board Connected to mbed LPC1768 board.

Files at this revision

API Documentation at this revision

Comitter:
AzqDev
Date:
Sat May 13 16:16:43 2017 +0000
Parent:
8:fddce3223a97
Child:
10:3f86cd2277cc
Commit message:
liibrary update & cosmetics

Changed in this revision

IQS62x.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/IQS62x.lib	Sat May 13 08:53:29 2017 +0000
+++ b/IQS62x.lib	Sat May 13 16:16:43 2017 +0000
@@ -1,1 +1,1 @@
-https://mbed.org/teams/Azoteq/code/IQS62x/#5a9bbbd6e312
+https://mbed.org/teams/Azoteq/code/IQS62x/#6a2f52b5ac46
--- a/main.cpp	Sat May 13 08:53:29 2017 +0000
+++ b/main.cpp	Sat May 13 16:16:43 2017 +0000
@@ -47,14 +47,14 @@
 
         terminal.showStatus(iqs62x.I2Cspeed,iqs62x.I2CErrorCount); // show heading and number of I2C errors
         
-        char * highlightTable; // a highlight table contains 1 byte for every register
-        // if a byte in a highlight table is nonzero, the corresponding register value will be highlighted during display
-        highlightTable = 0;                    // use a NULL table to make all registers print plain with no highlighting
-        highlightTable = iqs62x.readChanges;   // special table to highlight all registers that changed since the previous read
-        highlightTable = iqs62x.writeChanges;  // special table to highlight all registers that were written/configured but now contain a different value
-        highlightTable = iqs62x.writeFlag;     // special table to highlight all registers that were initialized - can be used to verify configure()
-        
-        terminal.showRegisters(iqs62x.registers, highlightTable); // display the registers and highlight the ones marked in the table
+        char * highlightTable; // a highlight table contains 1 byte per register - if the byte != 0 the register will be highlighted during display
+        highlightTable = 0;                      // use a NULL table to make all registers print plain with no highlighting
+        highlightTable = iqs62x.writeChanges;    // table that highlights all registers that were written/configured but now contain a different value
+        highlightTable = iqs62x.readChangesEver; // table that highlights all registers that ever changed since the previous read
+        highlightTable = iqs62x.readChanges;     // table that highlights all registers that changed since the previous read
+        highlightTable = iqs62x.writeFlag;       // table that highlights all registers that were written/initialized - can be used to verify configure()
+
+        terminal.showRegisters(iqs62x.registers, highlightTable); // display the registers and highlight the ones marked in the highlight table
     }
 }
 // end of IQS620_HelloWorld.cpp
\ No newline at end of file