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
hardware.h
- Committer:
- Coconara
- Date:
- 2018-12-11
- Revision:
- 0:6ca63d45f0ee
- Child:
- 2:977799d72329
File content as of revision 0:6ca63d45f0ee:
#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