Guillaume Chauvon
/
Asserve12
asser1
hardware.h@2:5764f89a27f6, 2019-04-17 (annotated)
- Committer:
- GuillaumeCH
- Date:
- Wed Apr 17 18:55:22 2019 +0000
- Revision:
- 2:5764f89a27f6
- Parent:
- 0:6ca63d45f0ee
- Child:
- 3:1dba6eca01ad
p
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); |
GuillaumeCH | 2:5764f89a27f6 | 8 | |
GuillaumeCH | 2:5764f89a27f6 | 9 | void set_step_moteur_D(int steps); |
GuillaumeCH | 2:5764f89a27f6 | 10 | |
GuillaumeCH | 2:5764f89a27f6 | 11 | |
Coconara | 0:6ca63d45f0ee | 12 | long int get_nbr_tick_D(void); |
Coconara | 0:6ca63d45f0ee | 13 | long int get_nbr_tick_G(void); |
Coconara | 0:6ca63d45f0ee | 14 | void attente_synchro(void); |
Coconara | 0:6ca63d45f0ee | 15 | |
Coconara | 0:6ca63d45f0ee | 16 | void allumer_del(void); |
Coconara | 0:6ca63d45f0ee | 17 | void eteindre_del(void); |
Coconara | 0:6ca63d45f0ee | 18 | |
Coconara | 0:6ca63d45f0ee | 19 | void allumer_autres_del(void); |
Coconara | 0:6ca63d45f0ee | 20 | void eteindre_autres_del(void); |
Coconara | 0:6ca63d45f0ee | 21 | void toggle_autres_del(void); |
Coconara | 0:6ca63d45f0ee | 22 | |
Coconara | 0:6ca63d45f0ee | 23 | void motors_on(void); |
Coconara | 0:6ca63d45f0ee | 24 | void motors_stop(void); |
Coconara | 0:6ca63d45f0ee | 25 | |
Coconara | 0:6ca63d45f0ee | 26 | int arret(void); |
Coconara | 0:6ca63d45f0ee | 27 | |
Coconara | 0:6ca63d45f0ee | 28 | void updateEncoderA(void); |
Coconara | 0:6ca63d45f0ee | 29 | void updateEncoderB(void); |
Coconara | 0:6ca63d45f0ee | 30 | |
Coconara | 0:6ca63d45f0ee | 31 | float lecture_courrant_D(); |
Coconara | 0:6ca63d45f0ee | 32 | float lecture_courrant_G(); |
Coconara | 0:6ca63d45f0ee | 33 | |
Coconara | 0:6ca63d45f0ee | 34 | void debugEncoder(void); |
Coconara | 0:6ca63d45f0ee | 35 | |
Coconara | 0:6ca63d45f0ee | 36 | #endif |