Messa in campo 4 file - 26/06/2020 Francia
Dependencies: mbed X_NUCLEO_IHM03A1_for
Fork of FORIGO_Modula_V7_3_VdcStep_maggio2020 by
Diff: main.hpp
- Revision:
- 8:310f9e4eac7b
- Parent:
- 6:e8c18f0f399a
- Child:
- 9:7f02256f6e8f
--- a/main.hpp Tue Feb 19 17:03:53 2019 +0000 +++ b/main.hpp Mon Mar 11 06:44:59 2019 +0000 @@ -1,17 +1,12 @@ #ifndef INCLUDE_MAIN #define INCLUDE_MAIN +#undef LPC +#define ST_NUCLEO + #include "mbed.h" #include "stdio.h" #include "math.h" -/* Helper header files. */ -#include "DevSPI.h" -/* Component specific header files. */ -#include "PowerStep01.h" -#include "powerstep.hpp" - -#undef LPC -#define ST_NUCLEO #define TBforward 1 #define TBreverse 0 @@ -35,18 +30,20 @@ #define canbusActive -#define pcSerial +//#define pcSerial //#define inversione -#define checkLoop +//#define checkLoop //#define checkLoopa -#define checkLoopb -#define TBperS -#define loStop +//#define checkLoopb +//#define TBperS +//#define loStop //#define TBperSo //#define laq //#define Qnca //#define Qncb //#define Qncc +//#define Qncd +//#define Qnce //#define stopSignal //#define resetCpu //#define stepTamb @@ -61,9 +58,10 @@ //#define encoMaster //#define rtosData -#define inProva 1 +#define inProva 0 +#define runner //#define provaScheda -#define provaStepper +//#define provaStepper //#define provaDC //#define clockSpeedOut #define startCycleSimulation 1