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.

Components / IQS621
Azoteq IQS621 ultra low power sensor for ambient light, magnetic field, capacitance and inductive proximity. Empowers next-generation user interfaces.


Low Cost Evaluation Board For Azoteq IQS621ultra low power I2C sensor for ambient light, magnetic field, capacitance, inductive proximity and temperature.

Files at this revision

API Documentation at this revision

Comitter:
AzqDev
Date:
Sun May 14 20:49:15 2017 +0000
Parent:
12:158b7c3dc8dc
Child:
14:4da43ebf6117
Commit message:
Color option

Changed in this revision

IQS621DisplayTerminal.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/IQS621DisplayTerminal.lib	Sun May 14 19:50:26 2017 +0000
+++ b/IQS621DisplayTerminal.lib	Sun May 14 20:49:15 2017 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/teams/Azoteq/code/IQS621DisplayTerminal/#b57872cf5562
+https://developer.mbed.org/teams/Azoteq/code/IQS621DisplayTerminal/#2cb11d8fa4a8
--- a/main.cpp	Sun May 14 19:50:26 2017 +0000
+++ b/main.cpp	Sun May 14 20:49:15 2017 +0000
@@ -41,7 +41,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_changed_in_the_previous_20_reads) ;
+    char * color = iqs62x.getTable( color_any_register_that_was_written_but_then_changed ); // color registers that differ from their initialized value
     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