DP

Dependencies:   FastAnalogIn mbed-rtos mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers print.h Source File

print.h

00001 #ifndef _PRINT_H
00002 #define _PRINT_H
00003 
00004 #include "mbed.h"
00005 #include "rtos.h"
00006 
00007 class cPrint {
00008     private:
00009         Serial s;
00010         FILE *fp;
00011         Timer timer;
00012         float t;
00013     public:
00014         cPrint(PinName pinT, PinName pinR);
00015         void log(char *message);
00016         void print(float data);
00017         void print(int data);
00018         void print(char data);
00019         void printStates();
00020         void open();
00021         int close();
00022 };
00023 
00024 #endif