Forigo / Mbed 2 deprecated FORIGO_Modula_V7_3_VdcStep_maggio2020

Dependencies:   mbed X_NUCLEO_IHM03A1_for

Fork of FORIGO_Modula_V7_3_VdcStep_maggio2020 by Francesco Pistone

Files at this revision

API Documentation at this revision

Comitter:
francescopistone
Date:
Fri May 29 14:09:15 2020 +0000
Parent:
41:a0d9a71f8cb5
Child:
43:2f67d0d989d7
Commit message:
stepSetting() NON compilato se elettronica V7

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
main.hpp Show annotated file Show diff for this revision Revisions of this file
diff -r a0d9a71f8cb5 -r 59ceb4b6bc69 main.cpp
--- a/main.cpp	Mon May 04 12:07:33 2020 +0000
+++ b/main.cpp	Fri May 29 14:09:15 2020 +0000
@@ -802,6 +802,7 @@
     }
 }
 // ------------------------------------------------------------------------------------------------------------------------------------------------------------------
+#if defined(oldStepperDriver)
 void stepSetting()
 {
     // Stepper driver init and set
@@ -888,6 +889,7 @@
         #endif
     #endif
 }
+#endif
 //****************************************
 void controllaCorrente(){
     correggiCorrente=1;
diff -r a0d9a71f8cb5 -r 59ceb4b6bc69 main.hpp
--- a/main.hpp	Mon May 04 12:07:33 2020 +0000
+++ b/main.hpp	Fri May 29 14:09:15 2020 +0000
@@ -65,8 +65,8 @@
 //#define rtosData
 
 #define inProva 0
-//#define runner
-#define oldStepperDriver
+#define runner // COMMENTATO PER V5, NON COMMENTATA PER V7
+//#define oldStepperDriver // NON COMMENTATO PER V5, COMMENTATA PER V7
 //#define provaScheda
 //#define provaStepper
 //#define provaDC