Azoteq IQS624 Serial Terminal Display Class
Dependents: IQS624_HelloWorld Nucleo_ACM1602_I2C_DC_Angle
Library: IQSDisplayTerminal
Library for formatted display of IQS624 registers on a serial terminal
Screen Capture
Below is a screen capture of formatted output on a serial terminal program.
Note that over a million frames were captured with zero I2C errors.
IQS624 Summary
Ultra low power I2C sensor for 2D Magnetic Angle, Capacitive touch and Inductive Proximity
IQS624 mbed Component Link
IQS624 Pinout
IQS624 Connected to mbed LPC1768 board. The five wires are power(2), I2C(2) and RDY(1).
IQS624 Data Sheet
Azoteq IQS624 Data sheet & Evaluation Kit Information: http://bit.ly/IQS624_ds
IQS624 YouTube Link
IQS624 1-minute YouTube video: http://bit.ly/IQS624Video
Diff: IQSdisplayTerminal.cpp
- Revision:
- 9:9fed1ba5abab
- Parent:
- 8:4a57fcc4cc31
- Child:
- 10:d4f2c7c2bd82
diff -r 4a57fcc4cc31 -r 9fed1ba5abab IQSdisplayTerminal.cpp --- a/IQSdisplayTerminal.cpp Fri May 12 05:39:11 2017 +0000 +++ b/IQSdisplayTerminal.cpp Fri May 12 05:42:35 2017 +0000 @@ -27,7 +27,7 @@ // display a startup message to serial port void IQS62xDisplay::helloMessage(bool waitForUser) { puts("\x1b[2J \x1b[?25l \x1b[H"); // ANSII/VT100 codes to clear screen, invisible cursor, home cursor - printf(" IQS62x Register Display\r\n\r\n"); + printf(" IQS624 Register Display\r\n\r\n"); printf("To get a smooth screen refresh effect, use a terminal program that supports ANSI/VT100 escape codes such as Tera Term.\r\n\r\n"); printf("Handy hint - In many terminal programs, Alt-B (break) will reset your Nucleo Board.\r\n\r\n"); printf("Press any key to continue...\r\n"); @@ -40,7 +40,7 @@ frameCounter++; puts("\x1b[H"); // ANSI/VT100 command for cursor home printf("\t\t\t"); - printf("\t IQS62x Register Display\r\n\r\n"); // heading + printf("\t IQS624 Register Display\r\n\r\n"); // heading printf("\t Frame number %06d", frameCounter); printf("\t I2C Speed %dk", I2Cspeed/1000); printf("\t I2C Errors %d", I2CErrorCount);