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

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

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

Components / IQS622
Azoteq IQS622 ultra low power sensor for ambient light, active (reflective) IR, magnetic field, capacitance and inductive proximity. Empowers next-generation user interfaces.

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

Handy Table of ProxFusion Device Features


ALS = Ambient Light Sensor PIR = Passive Infrared

/media/uploads/AzqDev/mbed-azoteq-proxfusion-handy-table-of-product-features.jpg

Revision:
8:f9c71b39c602
Parent:
7:5e7ea07265d9
Child:
9:7c2666dfbc9a
--- a/IQS62x.cpp	Fri May 12 01:36:05 2017 +0000
+++ b/IQS62x.cpp	Fri May 12 02:09:54 2017 +0000
@@ -30,10 +30,13 @@
 }
 
 // configure the IQS62x
-// declared __weak so we can override it with more complex configuration routines.
-__weak void IQS62xIO::configure() {
+#include "deviceType.h" // to check if we should override the configuration definition
+#ifndef OVERRIDE_CONFIGURE
+// if there is no override for configure() then we use this simplest version
+void IQS62xIO::configure() {
     writeRegister(0xd0,0x40); // simplest config : just acknowledge/clear the reset flag
 }
+#endif
 
 // read all registers from the IQS62x
 void IQS62xIO::readAll() {