interrupt géré compil ok sans isr

Fork of T2_STM32 by Atechsys

Committer:
ketingue
Date:
Tue Feb 06 11:04:00 2018 +0000
Revision:
9:d3dcad0c7d57
Parent:
6:6291f032e996
lift avec interruption sans isr

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Tioneb 2:ab0ccf9bb38c 1 //Paramètres Ascenseur
Tioneb 5:d6484db1ec5c 2 #define LIFTSTEPPIN D0
Tioneb 5:d6484db1ec5c 3 #define LIFTDIRPIN D1
Tioneb 5:d6484db1ec5c 4 #define LIFTCURRENTSENSOR D2
Tioneb 5:d6484db1ec5c 5
ketingue 6:6291f032e996 6 //char Lift[3] = "D0";
ketingue 6:6291f032e996 7 //char Lift[4] = "D1";
ketingue 6:6291f032e996 8
Tioneb 2:ab0ccf9bb38c 9
Tioneb 2:ab0ccf9bb38c 10 //Paramètres Chariot
Tioneb 2:ab0ccf9bb38c 11 #define Carriage_StepPin 6
Tioneb 2:ab0ccf9bb38c 12 #define Carriage_DirPin 5
Tioneb 2:ab0ccf9bb38c 13 #define Carriage_PosMin 1
Tioneb 2:ab0ccf9bb38c 14 #define Carriage_PosMid 2
Tioneb 2:ab0ccf9bb38c 15 #define Carriage_PosMax 3
Tioneb 2:ab0ccf9bb38c 16 #define Carriage_OriginSensor 25
Tioneb 2:ab0ccf9bb38c 17 #define Carriage_EnablePin 2
Tioneb 2:ab0ccf9bb38c 18
Tioneb 2:ab0ccf9bb38c 19 //Paramètres Barillet
Tioneb 2:ab0ccf9bb38c 20 #define Cylinder_StepPin 9
Tioneb 2:ab0ccf9bb38c 21 #define Cylinder_DirPin 7
Tioneb 2:ab0ccf9bb38c 22 #define Cylinder_PosMin 0
Tioneb 2:ab0ccf9bb38c 23 #define Cylinder_PosMax 5
Tioneb 2:ab0ccf9bb38c 24 #define Cylinder_OriginSensor 3
Tioneb 2:ab0ccf9bb38c 25 #define Cylinder_EnablePin 4
Tioneb 2:ab0ccf9bb38c 26
Tioneb 2:ab0ccf9bb38c 27
Tioneb 2:ab0ccf9bb38c 28 //Paramètre Capteur Parcel
Tioneb 2:ab0ccf9bb38c 29 #define Parcel_Sensor 99 //NON DEFINI
Tioneb 2:ab0ccf9bb38c 30
Tioneb 2:ab0ccf9bb38c 31 //Paramètres communication
Tioneb 2:ab0ccf9bb38c 32 #define Start_Command 9
Tioneb 2:ab0ccf9bb38c 33 #define Cylinder_Address 1
Tioneb 2:ab0ccf9bb38c 34 #define Carriage_Address 2
Tioneb 2:ab0ccf9bb38c 35 #define Rack_Address 3
Tioneb 2:ab0ccf9bb38c 36 #define Hatch_Address 4
Tioneb 2:ab0ccf9bb38c 37 #define Lift_Address 5
Tioneb 2:ab0ccf9bb38c 38 #define Gyro_Address 6
Tioneb 2:ab0ccf9bb38c 39
Tioneb 2:ab0ccf9bb38c 40 //Paramètres Signalisation
Tioneb 2:ab0ccf9bb38c 41 #define Gyro_Output 43
Tioneb 2:ab0ccf9bb38c 42 #define Buzzer_Output 8