The preloaded firmware shipped on the PowerMate

Dependencies:   USBDevice mbed

Revision:
1:ea25641678f7
Parent:
0:c0f091562db4
--- a/main.cpp	Tue Dec 02 19:58:25 2014 +0000
+++ b/main.cpp	Thu Dec 04 19:10:52 2014 +0000
@@ -64,7 +64,7 @@
             lcd.clear();
             switch (display){
                 case DISPLAY_VOLTAGE:
-                    print_float(voltage.read()*3.3*2,"V",3);
+                    print_float(voltage.read()*3.3*2,"V",2);
                     break;
                 case DISPLAY_CURRENT:
                     print_float((current.read()*3.3)/1.1,"A",2);