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.
hardware.h
- Committer:
- GuillaumeCH
- Date:
- 2019-05-06
- Revision:
- 3:1dba6eca01ad
- Parent:
- 2:5764f89a27f6
File content as of revision 3:1dba6eca01ad:
#ifndef HARDWARE_H
#define HARDWARE_H
void init_hardware(void);
void set_PWM_moteur_D(int PWM);
void set_PWM_moteur_G(int PWM);
void set_step_moteur_D(int steps);
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();
long int get_position_D();
long int get_position_G();
void debugEncoder();
void asservissement();
#endif