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: mbed
Fork of TEST10_8A_Nucleo_Charger_vApril_copy by
Diff: main.cpp
- Revision:
- 2:81b3308d5d45
- Parent:
- 1:2cbd9538feb6
- Child:
- 3:0069f2cad504
diff -r 2cbd9538feb6 -r 81b3308d5d45 main.cpp
--- a/main.cpp Mon Apr 18 20:39:11 2016 +0000
+++ b/main.cpp Thu Apr 21 12:31:32 2016 +0000
@@ -117,7 +117,7 @@
if(readingA2<3200) // tester 32A cable
{
- if((current_average > 2000) && (current_average <2030) || (current_average > 550) && (current_average <600)) // first reading ˜2012 & ˜573 after
+ if((current_average > 1900) && (current_average <2100) || (current_average > 500) && (current_average <600)) // first reading ˜2012 & ˜573 after
{
control_pilot = PILOT_9V; // Pilot at 9V
}
@@ -128,7 +128,7 @@
if(resetCharger == true)
{control_pilot = PILOT_RESET;}
-}//end if(readingA2!=0)
+}//end if(readingA2!=0)
