jhuh

Dependents:   robot_final

Bluetooth_HC05_LE_TRAME.h

Committer:
aure
Date:
2017-03-18
Revision:
2:7d02a128e1e3
Parent:
1:7cc085e87bb0
Child:
4:f597583e8b55

File content as of revision 2:7d02a128e1e3:

#include "mbed.h"


#define longueur_trame 4

class Bluetooth_HC05_LE_TRAME
{
    
    protected:
     char flush;
     
     char buf[longueur_trame];
     
    
     
    
    
    
    public:
    
    Bluetooth_HC05_LE_TRAME();
    ~Bluetooth_HC05_LE_TRAME();
    
    

     void envoyer(char* envoi);
     void recevoir();
     char * getBuf();
    void resetBuffer();
    int donneesRecue();
     
    
    
};