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
00001 #ifndef HARDWARE_H 00002 #define HARDWARE_H 00003 00004 00005 void init_hardware(void); 00006 void set_PWM_moteur_D(int PWM); 00007 void set_PWM_moteur_G(int PWM); 00008 00009 void set_step_moteur_D(int steps); 00010 00011 00012 long int get_nbr_tick_D(void); 00013 long int get_nbr_tick_G(void); 00014 void attente_synchro(void); 00015 00016 void allumer_del(void); 00017 void eteindre_del(void); 00018 00019 void allumer_autres_del(void); 00020 void eteindre_autres_del(void); 00021 void toggle_autres_del(void); 00022 00023 void motors_on(void); 00024 void motors_stop(void); 00025 00026 int arret(void); 00027 00028 void updateEncoderA(void); 00029 void updateEncoderB(void); 00030 00031 float lecture_courrant_D(); 00032 float lecture_courrant_G(); 00033 long int get_position_D(); 00034 long int get_position_G(); 00035 void debugEncoder(); 00036 void asservissement(); 00037 00038 #endif
Generated on Thu Jul 14 2022 05:39:00 by
1.7.2