monitor

Dependents:   mini_02

Fork of mon by V09

Revision:
0:401f3ae5ab50
Child:
1:bf1028d27a23
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mon.h	Sat Jan 03 15:24:48 2015 +0000
@@ -0,0 +1,54 @@
+
+//---------------------------------------------------------------------------
+// Modul...: MON.H    
+// Chip....: KL25Z
+// 
+//---------------------------------------------------------------------------
+// Author..: Reinhold Schäfer
+// Date....: 2014.06.08
+// http....: //www.microsps.net
+//---------------------------------------------------------------------------
+
+#include <string.h>
+#include "mbed.h"
+
+#define MON_LINE_LEN        40          // maximale Länge der Eingabezeile  
+
+class monitor
+{    
+  private:
+  
+  public:
+    
+    char mon_line[MON_LINE_LEN];            // Aktuelle Eingabezeile 
+    uint8_t MonLinePtr, cr_flag;           // Cursor Position und Endzeichen
+    uint8_t tasten, tasten_old;
+    
+    char buffer[100];  
+  
+    char str1[20];
+    char str2[20];
+    char str3[20];
+    char str4[20];  
+    
+    monitor(void);
+    
+    void parser (void);
+    void monPC(void);
+    void monLine(void);
+    void clcd (void);
+    void dump(void);
+    void help(void);
+    void set(void);
+    void date(void);
+    void fdisk(void);
+    void time(void);
+    void dir(void);
+    void list(void);    
+    void del(void);
+    void fill(void);
+    void rename(void);
+    uint8_t taste(void);
+    void read_menu(void);
+};        
+