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.
DRIBBLE.h
- Committer:
- lorenzodunau
- Date:
- 2022-05-13
- Revision:
- 31:61f9fca504dd
File content as of revision 31:61f9fca504dd:
/**
* @file MX12.h
* @brief this header file contains all required definitions and
* basic utilities functions to manage au bus of servomotor
* Dynaminel MX12
*/
#ifndef MBED_DRIBBLE_H_
#define MBED_DRIBBLE_H_
#include "mbed.h"
class dribbleur
{
public:
dribbleur(PinName tx = D15);
void SetSpeed(int pourcentage);
// Permet de choisir une fraction de la vitesse maximal du dribbleur
void test();
// permet de vérifier que le bribbleur est opérationnel
void SetSpeedSmooth();
// permet d'atteindre la vitesse de croisière de manière smooth
void eteindre_moteurs();
// permet d'enlever le couple dans les moteurs
protected:
PwmOut _moteurDribble;
};
#endif