Guillaume Chauvon
/
Asserve12
asser1
hardware.h@0:6ca63d45f0ee, 2018-12-11 (annotated)
- Committer:
- Coconara
- Date:
- Tue Dec 11 19:12:55 2018 +0000
- Revision:
- 0:6ca63d45f0ee
- Child:
- 2:5764f89a27f6
asser
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Coconara | 0:6ca63d45f0ee | 1 | #ifndef HARDWARE_H |
Coconara | 0:6ca63d45f0ee | 2 | #define HARDWARE_H |
Coconara | 0:6ca63d45f0ee | 3 | |
Coconara | 0:6ca63d45f0ee | 4 | |
Coconara | 0:6ca63d45f0ee | 5 | void init_hardware(void); |
Coconara | 0:6ca63d45f0ee | 6 | void set_PWM_moteur_D(int PWM); |
Coconara | 0:6ca63d45f0ee | 7 | void set_PWM_moteur_G(int PWM); |
Coconara | 0:6ca63d45f0ee | 8 | long int get_nbr_tick_D(void); |
Coconara | 0:6ca63d45f0ee | 9 | long int get_nbr_tick_G(void); |
Coconara | 0:6ca63d45f0ee | 10 | void attente_synchro(void); |
Coconara | 0:6ca63d45f0ee | 11 | |
Coconara | 0:6ca63d45f0ee | 12 | void allumer_del(void); |
Coconara | 0:6ca63d45f0ee | 13 | void eteindre_del(void); |
Coconara | 0:6ca63d45f0ee | 14 | |
Coconara | 0:6ca63d45f0ee | 15 | void allumer_autres_del(void); |
Coconara | 0:6ca63d45f0ee | 16 | void eteindre_autres_del(void); |
Coconara | 0:6ca63d45f0ee | 17 | void toggle_autres_del(void); |
Coconara | 0:6ca63d45f0ee | 18 | |
Coconara | 0:6ca63d45f0ee | 19 | void motors_on(void); |
Coconara | 0:6ca63d45f0ee | 20 | void motors_stop(void); |
Coconara | 0:6ca63d45f0ee | 21 | |
Coconara | 0:6ca63d45f0ee | 22 | int arret(void); |
Coconara | 0:6ca63d45f0ee | 23 | |
Coconara | 0:6ca63d45f0ee | 24 | void updateEncoderA(void); |
Coconara | 0:6ca63d45f0ee | 25 | void updateEncoderB(void); |
Coconara | 0:6ca63d45f0ee | 26 | |
Coconara | 0:6ca63d45f0ee | 27 | float lecture_courrant_D(); |
Coconara | 0:6ca63d45f0ee | 28 | float lecture_courrant_G(); |
Coconara | 0:6ca63d45f0ee | 29 | |
Coconara | 0:6ca63d45f0ee | 30 | void debugEncoder(void); |
Coconara | 0:6ca63d45f0ee | 31 | |
Coconara | 0:6ca63d45f0ee | 32 | #endif |