Voltage Monitor Class widh LED Alert

Dependents:   KIK01

Files at this revision

API Documentation at this revision

Comitter:
ryood
Date:
Sat Dec 23 09:26:27 2017 +0000
Parent:
1:ada48e929184
Commit message:
Add a UART_TRACE format

Changed in this revision

VoltageMonitor.h Show annotated file Show diff for this revision Revisions of this file
diff -r ada48e929184 -r ee0c146f02e6 VoltageMonitor.h
--- a/VoltageMonitor.h	Sun Nov 26 08:58:22 2017 +0000
+++ b/VoltageMonitor.h	Sat Dec 23 09:26:27 2017 +0000
@@ -56,7 +56,8 @@
         else                            st = VM_NORMAL;
         
 #if UART_TRACE
-        printf("VoltageMonitor:\t%.3fV\t %d\r\n", vMeas, st);
+        printf("VoltageMonitor:\t%.3f\t %d\r\n", vMeas, st);
+        //printf("%.3f\r\n", vMeas);
 #endif
 
         if (st != status) {