avec thread

Dependencies:   mbed

Fork of T2_STM32 by Atechsys

Committer:
ketingue
Date:
Sun Jan 14 17:39:09 2018 +0000
Revision:
4:b01a3ce6ef01
Parent:
2:ab0ccf9bb38c
test_pwm_01;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Tioneb 2:ab0ccf9bb38c 1 //Paramètres Ascenseur
Tioneb 2:ab0ccf9bb38c 2 #define Lift_pinUp 27
Tioneb 2:ab0ccf9bb38c 3 #define Lift_pinDown 26
Tioneb 2:ab0ccf9bb38c 4 #define Lift_UpSensor 45
Tioneb 2:ab0ccf9bb38c 5 #define Lift_MiddleSensor 42
Tioneb 2:ab0ccf9bb38c 6
Tioneb 2:ab0ccf9bb38c 7 //Paramètres Chariot
Tioneb 2:ab0ccf9bb38c 8 #define Carriage_StepPin 6
Tioneb 2:ab0ccf9bb38c 9 #define Carriage_DirPin 5
Tioneb 2:ab0ccf9bb38c 10 #define Carriage_PosMin 1
Tioneb 2:ab0ccf9bb38c 11 #define Carriage_PosMid 2
Tioneb 2:ab0ccf9bb38c 12 #define Carriage_PosMax 3
Tioneb 2:ab0ccf9bb38c 13 #define Carriage_OriginSensor 25
Tioneb 2:ab0ccf9bb38c 14 #define Carriage_EnablePin 2
Tioneb 2:ab0ccf9bb38c 15
Tioneb 2:ab0ccf9bb38c 16 //Paramètres Barillet
Tioneb 2:ab0ccf9bb38c 17 #define Cylinder_StepPin 9
Tioneb 2:ab0ccf9bb38c 18 #define Cylinder_DirPin 7
Tioneb 2:ab0ccf9bb38c 19 #define Cylinder_PosMin 0
Tioneb 2:ab0ccf9bb38c 20 #define Cylinder_PosMax 5
Tioneb 2:ab0ccf9bb38c 21 #define Cylinder_OriginSensor 3
Tioneb 2:ab0ccf9bb38c 22 #define Cylinder_EnablePin 4
Tioneb 2:ab0ccf9bb38c 23
Tioneb 2:ab0ccf9bb38c 24
Tioneb 2:ab0ccf9bb38c 25 //Paramètre Capteur Parcel
Tioneb 2:ab0ccf9bb38c 26 #define Parcel_Sensor 99 //NON DEFINI
Tioneb 2:ab0ccf9bb38c 27
Tioneb 2:ab0ccf9bb38c 28 //Paramètres communication
Tioneb 2:ab0ccf9bb38c 29 #define Start_Command 9
Tioneb 2:ab0ccf9bb38c 30 #define Cylinder_Address 1
Tioneb 2:ab0ccf9bb38c 31 #define Carriage_Address 2
Tioneb 2:ab0ccf9bb38c 32 #define Rack_Address 3
Tioneb 2:ab0ccf9bb38c 33 #define Hatch_Address 4
Tioneb 2:ab0ccf9bb38c 34 #define Lift_Address 5
Tioneb 2:ab0ccf9bb38c 35 #define Gyro_Address 6
Tioneb 2:ab0ccf9bb38c 36
Tioneb 2:ab0ccf9bb38c 37 //Paramètres Signalisation
Tioneb 2:ab0ccf9bb38c 38 #define Gyro_Output 43
Tioneb 2:ab0ccf9bb38c 39 #define Buzzer_Output 8