routeur done

Dependencies:   mbed

Fork of APP4 by Évan Laverdure

Revision:
2:7515831bb5f5
Child:
3:350f07072089
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/trame.hpp	Mon Feb 24 14:08:10 2014 +0000
@@ -0,0 +1,21 @@
+#ifndef TRAME_HPP
+#define TRAME_HPP
+
+#include "mbed.h"
+
+using namespace std;
+
+class Trame
+{
+public:
+    // Constructeur
+    Trame(PinName _tx, PinName _rx);
+    
+    void sendATCommand(const char* command, int data = 0);
+    
+    unsigned int checksum();
+private:
+    PinName tx, rx;
+};
+
+#endif
\ No newline at end of file