Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FreescaleIAP mbed-rtos mbed
Fork of workinQM_5thJan_azad by
Diff: EPS.cpp
- Revision:
- 37:8a8024c45dc0
- Parent:
- 15:e09aaaccf134
--- a/EPS.cpp Fri Jun 03 13:53:55 2016 +0000
+++ b/EPS.cpp Fri Jun 24 08:08:52 2016 +0000
@@ -123,7 +123,9 @@
for(Iteration=0; Iteration<16; Iteration++){
actual_data.voltage_actual[Iteration]=VoltageInput.read();
+ printf("\n\r the vol is %f",VoltageInput.read()*3.3);
actual_data.current_actual[Iteration]=CurrentInput.read();
+ printf("\n\r the cur is %f",CurrentInput.read()*3.3);
SelectLinea0=!(SelectLinea0);
if(Iteration%2==1)
