quentin godbert
/
t2-stm32-lift
interrupt géré compil ok sans isr
Fork of T2_STM32 by
Diff: config.h
- Revision:
- 2:ab0ccf9bb38c
- Child:
- 5:d6484db1ec5c
diff -r 979edb6d1559 -r ab0ccf9bb38c config.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/config.h Sun Jan 14 15:50:49 2018 +0000 @@ -0,0 +1,39 @@ +//Paramètres Ascenseur +#define Lift_pinUp 27 +#define Lift_pinDown 26 +#define Lift_UpSensor 45 +#define Lift_MiddleSensor 42 + +//Paramètres Chariot +#define Carriage_StepPin 6 +#define Carriage_DirPin 5 +#define Carriage_PosMin 1 +#define Carriage_PosMid 2 +#define Carriage_PosMax 3 +#define Carriage_OriginSensor 25 +#define Carriage_EnablePin 2 + +//Paramètres Barillet +#define Cylinder_StepPin 9 +#define Cylinder_DirPin 7 +#define Cylinder_PosMin 0 +#define Cylinder_PosMax 5 +#define Cylinder_OriginSensor 3 +#define Cylinder_EnablePin 4 + + +//Paramètre Capteur Parcel +#define Parcel_Sensor 99 //NON DEFINI + +//Paramètres communication +#define Start_Command 9 +#define Cylinder_Address 1 +#define Carriage_Address 2 +#define Rack_Address 3 +#define Hatch_Address 4 +#define Lift_Address 5 +#define Gyro_Address 6 + +//Paramètres Signalisation +#define Gyro_Output 43 +#define Buzzer_Output 8