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
Handy Table of ProxFusion Device Features
ALS = Ambient Light Sensor PIR = Passive Infrared
Diff: IQS62x.h
- Revision:
- 20:7eb08a52b954
- Parent:
- 18:b85048ec91d2
diff -r f0675a3150c7 -r 7eb08a52b954 IQS62x.h --- a/IQS62x.h Thu May 18 15:23:40 2017 +0000 +++ b/IQS62x.h Wed Mar 21 05:56:22 2018 +0000 @@ -16,8 +16,11 @@ #else // If your board has an Arduino interface the definitions below will likely work, also works for Teensy #define IQS_I2C_CLOCK_PIN I2C_SCL /* on NUCLEO boards this is marked as SCL/D15 on CN5 */ +//#define IQS_I2C_CLOCK_PIN PA_9 /* 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_I2C_DATA_PIN PA_10 /* 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 */ +//#define IQS_READY_PIN PA_12 /* on NUCLEO boards this is marked as D2 on CN9 */ #endif #define I2C_ADR (0x44 << 1) /* I2C address of IQS62x */