Guillaume Chauvon
/
Asserve12
asser1
hardware.h@4:deef042e9c02, 2019-05-08 (annotated)
- Committer:
- GuillaumeCH
- Date:
- Wed May 08 20:46:46 2019 +0000
- Revision:
- 4:deef042e9c02
- Parent:
- 3:1dba6eca01ad
f
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(); |
GuillaumeCH | 3:1dba6eca01ad | 33 | long int get_position_D(); |
GuillaumeCH | 3:1dba6eca01ad | 34 | long int get_position_G(); |
GuillaumeCH | 3:1dba6eca01ad | 35 | void debugEncoder(); |
GuillaumeCH | 3:1dba6eca01ad | 36 | void asservissement(); |
Coconara | 0:6ca63d45f0ee | 37 | |
Coconara | 0:6ca63d45f0ee | 38 | #endif |