Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed X_NUCLEO_IHM02A1
Diff: hardware.h
- Revision:
- 0:6ca63d45f0ee
- Child:
- 2:977799d72329
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hardware.h Tue Dec 11 19:12:55 2018 +0000 @@ -0,0 +1,32 @@ +#ifndef HARDWARE_H +#define HARDWARE_H + + +void init_hardware(void); +void set_PWM_moteur_D(int PWM); +void set_PWM_moteur_G(int PWM); +long int get_nbr_tick_D(void); +long int get_nbr_tick_G(void); +void attente_synchro(void); + +void allumer_del(void); +void eteindre_del(void); + +void allumer_autres_del(void); +void eteindre_autres_del(void); +void toggle_autres_del(void); + +void motors_on(void); +void motors_stop(void); + +int arret(void); + +void updateEncoderA(void); +void updateEncoderB(void); + +float lecture_courrant_D(); +float lecture_courrant_G(); + +void debugEncoder(void); + +#endif