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 X_NUCLEO_IHM03A1_for
main.hpp
- Committer:
- nerit
- Date:
- 2019-02-19
- Revision:
- 6:e8c18f0f399a
- Parent:
- 5:2a3a64b52f54
- Child:
- 8:310f9e4eac7b
File content as of revision 6:e8c18f0f399a:
#ifndef INCLUDE_MAIN
#define INCLUDE_MAIN
#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
//#define Zucca
// INDIRIZZAMENTO CAN BUS
#define M1
//#define M2
//#define M3
//#define M4
//#define M5
//#define M6
//#define M7
//#define M8
//#define M9
//#define M10
#define canbusActive
#define pcSerial
//#define inversione
#define checkLoop
//#define checkLoopa
#define checkLoopb
#define TBperS
#define loStop
//#define TBperSo
//#define laq
//#define Qnca
//#define Qncb
//#define Qncc
//#define stopSignal
//#define resetCpu
//#define stepTamb
//#define quinca
//#define correnteAssorbita
//#define overWriteCanSimulation
//#define canDataReceived
//#define inCorre
//#define SDreset
//#define VediAllarmi
//#define vediEncoder
//#define encoMaster
//#define rtosData
#define inProva 1
//#define provaScheda
#define provaStepper
//#define provaDC
//#define clockSpeedOut
#define startCycleSimulation 1
#define correzioneAttiva 1
//#define simulaPerCan
//#define simulaBanco
#endif