Azoteq / IQS621DisplayTerminal

Dependents:   IQS621_HelloWorld

Files at this revision

API Documentation at this revision

Comitter:
AzqDev
Date:
Sat May 06 10:30:57 2017 +0000
Parent:
1:e29de2210e8a
Child:
3:10112b6b8d3c
Commit message:
Added Version to register display

Changed in this revision

IQS621DisplayTerminal.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/IQS621DisplayTerminal.cpp	Sat May 06 01:29:47 2017 +0000
+++ b/IQS621DisplayTerminal.cpp	Sat May 06 10:30:57 2017 +0000
@@ -49,7 +49,7 @@
 // formatted hex display of IQS621 registers
 void IQS621Display::showRegisters(char * buffer) {
     #define ShowLine(FROM,TO) for(int j=(FROM);j<=(TO);j++)printf("%02x ",buffer[j])
-    printf("\r\n\r\n           Device ID (46) [00] "); ShowLine(0x00,0x02);
+    printf("\r\n\r\n Device ID & Version (46) [00] "); ShowLine(0x00,0x02);
     printf("\r\n\r\n         Events and Flags [10] "); ShowLine(0x10,0x1e);
     printf("\r\n\r\n  Channels 0-6 Raw Values [20] "); ShowLine(0x20,0x2d);
     printf("\r\n\r\n   Long Term Average Data [30] "); ShowLine(0x30,0x33);