jhuh

Dependents:   robot_final

Committer:
aure
Date:
Sat Mar 18 11:13:44 2017 +0000
Revision:
2:7d02a128e1e3
Parent:
1:7cc085e87bb0
Child:
4:f597583e8b55
aure

Who changed what in which revision?

UserRevisionLine numberNew contents of line
aure 0:092ac281a013 1 #include "mbed.h"
aure 1:7cc085e87bb0 2
aure 0:092ac281a013 3
aure 2:7d02a128e1e3 4 #define longueur_trame 4
aure 2:7d02a128e1e3 5
aure 0:092ac281a013 6 class Bluetooth_HC05_LE_TRAME
aure 0:092ac281a013 7 {
aure 0:092ac281a013 8
aure 0:092ac281a013 9 protected:
aure 0:092ac281a013 10 char flush;
aure 2:7d02a128e1e3 11
aure 2:7d02a128e1e3 12 char buf[longueur_trame];
aure 2:7d02a128e1e3 13
aure 0:092ac281a013 14
aure 1:7cc085e87bb0 15
aure 1:7cc085e87bb0 16
aure 0:092ac281a013 17
aure 0:092ac281a013 18
aure 0:092ac281a013 19 public:
aure 0:092ac281a013 20
aure 0:092ac281a013 21 Bluetooth_HC05_LE_TRAME();
aure 0:092ac281a013 22 ~Bluetooth_HC05_LE_TRAME();
aure 0:092ac281a013 23
aure 0:092ac281a013 24
aure 2:7d02a128e1e3 25
aure 0:092ac281a013 26 void envoyer(char* envoi);
aure 2:7d02a128e1e3 27 void recevoir();
aure 2:7d02a128e1e3 28 char * getBuf();
aure 0:092ac281a013 29 void resetBuffer();
aure 1:7cc085e87bb0 30 int donneesRecue();
aure 0:092ac281a013 31
aure 0:092ac281a013 32
aure 0:092ac281a013 33
aure 0:092ac281a013 34 };