code pour recevoir des trames et mettre les char sur le port usb
Dependencies: mbed
Fork of APP4 by
coordinateur.hpp@2:7515831bb5f5, 2014-02-24 (annotated)
- Committer:
- joGenie
- Date:
- Mon Feb 24 14:08:10 2014 +0000
- Revision:
- 2:7515831bb5f5
- Parent:
- 0:71df0feee697
- Child:
- 3:350f07072089
Add file;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
joGenie | 0:71df0feee697 | 1 | #ifndef COORDINATEUR_HPP |
joGenie | 0:71df0feee697 | 2 | #define COORDINATEUR_HPP |
joGenie | 0:71df0feee697 | 3 | |
joGenie | 0:71df0feee697 | 4 | #include <string> |
joGenie | 2:7515831bb5f5 | 5 | #include "trame.hpp" |
joGenie | 0:71df0feee697 | 6 | |
joGenie | 0:71df0feee697 | 7 | using namespace std; |
joGenie | 0:71df0feee697 | 8 | |
joGenie | 0:71df0feee697 | 9 | class Coordinateur |
joGenie | 0:71df0feee697 | 10 | { |
joGenie | 0:71df0feee697 | 11 | public: |
joGenie | 0:71df0feee697 | 12 | // Constructeur |
joGenie | 2:7515831bb5f5 | 13 | Coordinateur(PinName _tx, PinName _rx); |
joGenie | 0:71df0feee697 | 14 | |
joGenie | 0:71df0feee697 | 15 | private: |
joGenie | 2:7515831bb5f5 | 16 | Trame trame; |
joGenie | 0:71df0feee697 | 17 | string pan; |
joGenie | 0:71df0feee697 | 18 | }; |
joGenie | 0:71df0feee697 | 19 | |
joGenie | 0:71df0feee697 | 20 | #endif |