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:
2:c16cb655d4a4
Parent:
1:2f08ab339e17
Child:
3:e26d7c502309
--- a/IQS62x.h	Sat Feb 04 20:12:53 2017 +0000
+++ b/IQS62x.h	Mon Feb 06 05:37:22 2017 +0000
@@ -2,13 +2,14 @@
 #include "mbed.h"
 
 // Verify these 3 pin definitions if your hardware is not on the list of tested boards
-// If your board has an Arduino interface the definitions below will likely work
 
 #if defined (TARGET_LPC1768) || defined (TARGET_LPC11U24)
-#define IQS_I2C_CLOCK_PIN p27       /* on LPC1768/LPC11U24 this is marked as p27 */
-#define IQS_I2C_DATA_PIN p28        /* on LPC1768/LPC11U24 this is marked as p28 */
-#define IQS_READY_PIN p26           /* on LPC1768/LPC11U24 this is marked as p26 */
+#define IQS_I2C_CLOCK_PIN p27       /* on LPC1768/LPC11U24 this is marked as p10 */
+#define IQS_I2C_DATA_PIN p28        /* on LPC1768/LPC11U24 this is marked as p9 */
+#define IQS_READY_PIN p26           /* on LPC1768/LPC11U24 this is marked as p8 */
+
 #else
+// If your board has an Arduino interface the definitions below will likely work
 #define IQS_I2C_CLOCK_PIN I2C_SCL   /* on NUCLEO boards this is marked as SCL/D15 on CN5 */
 #define IQS_I2C_DATA_PIN I2C_SDA    /* on NUCLEO boards this is marked as SDA/D14 on CN5 */
 #define IQS_READY_PIN D2            /* on NUCLEO boards this is marked as D2 on CN9 */