GHI Electronics
/
Official_PowerMate
The preloaded firmware shipped on the PowerMate
Revision 1:ea25641678f7, committed 2014-12-04
- Comitter:
- Experiment626
- Date:
- Thu Dec 04 19:10:52 2014 +0000
- Parent:
- 0:c0f091562db4
- Commit message:
- Changed the voltage output precision to two places.
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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);