DP

Dependencies:   FastAnalogIn mbed-rtos mbed

Revision:
0:f3b355df6f26
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/print.h	Sun Apr 26 13:14:02 2015 +0000
@@ -0,0 +1,24 @@
+#ifndef _PRINT_H
+#define _PRINT_H
+
+#include "mbed.h"
+#include "rtos.h"
+
+class cPrint {
+    private:
+        Serial s;
+        FILE *fp;
+        Timer timer;
+        float t;
+    public:
+        cPrint(PinName pinT, PinName pinR);
+        void log(char *message);
+        void print(float data);
+        void print(int data);
+        void print(char data);
+        void printStates();
+        void open();
+        int close();
+};
+
+#endif
\ No newline at end of file