monitor

Dependents:   09_PT1000 10_PT1000 11_PT1000

Revision:
1:19313470f629
Parent:
0:f0fbbfdca478
--- a/monitor.h	Sat Jul 26 07:27:20 2014 +0000
+++ b/monitor.h	Mon Jul 28 14:36:32 2014 +0000
@@ -1,3 +1,6 @@
+
+#ifndef MONITOR_H
+#define MONITOR_H
 
 #include <string.h>
 #include "mbed.h"
@@ -5,28 +8,20 @@
 
 #define COM_LINE_LEN 100
 
-class monitor
-{
-  private:
-  
-        
-  public:
-      
-     char com_line[COM_LINE_LEN];              // Aktuelle Eingabezeile 
-     uint8_t ComLinePtr, ComLineTop;     // Cursor Position und Zeilenlänge
-     
-     uint8_t cr_flag;
-  
-     uint16_t status[8];
-     
-     monitor(void);  
-     void parser (void);
-     void get_line(void);
-     void get_ch (void);
-     
-     void date(void);
-     void dump(void);
-     void help(void);
-     void set(void);
-     void time(void);
-  };
\ No newline at end of file
+ void mon_init(void);
+ 
+ void parser (void);
+ void get_line(void);
+ void get_ch (void);
+ 
+ void date(void);
+ void dump(void);
+ void help(void);
+ void set(void);
+ void time(void);
+ void dir(void);
+ void list(void);    
+ void del(void);
+ void fill(void);
+
+#endif
\ No newline at end of file