Ulta Low Power I2C Multi-Sensor: Capacitive Touch, Magnetic Field & Inductive Proximity.
Dependencies: IQS620DisplayTerminal IQS62x mbed
Fork of IQS620_HelloWorld by
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:
IQS620 Eval Kit board Connected to mbed LPC1768 board.
Diff: main.cpp
- Revision:
- 6:250df5794541
- Parent:
- 3:481d56f2b398
- Child:
- 7:7abb59b94800
--- a/main.cpp Fri May 12 05:11:12 2017 +0000 +++ b/main.cpp Fri May 12 16:33:08 2017 +0000 @@ -44,7 +44,7 @@ wait(3); iqs62x.configure(); // configure the IC while(1) { - iqs62x.readAll(); // read all the registers + iqs62x.readIqsRegisters(0,NUMBER_OF_REGISTERS); // read all the registers terminal.showStatus(iqs62x.I2Cspeed,iqs62x.I2CErrorCount); // show heading and number of I2C errors terminal.showRegisters(iqs62x.registers); // show IQS62x registers }