For test

Dependencies:   mbed

Revision:
5:218b5decd1ea
Parent:
4:962bf18523f4
Child:
6:a8cf39c768c4
diff -r 962bf18523f4 -r 218b5decd1ea uartWiFi.h
--- a/uartWiFi.h	Fri Jan 30 11:45:49 2015 +0000
+++ b/uartWiFi.h	Fri Jan 30 12:19:57 2015 +0000
@@ -1,55 +1,13 @@
-
-/*
-ESP8266 library
-
-Created by Stan Lee(Lizq@iteadstudio.com)
-2014/10/8
-
-Modified version
-V1.0    released the first version of ESP8266 library
-
-
-
-*/
-
 #ifndef __UARTWIFI_H__
 #define __UARTWIFI_H__
-#include <Arduino.h>
-//#include "NilRTOS.h"
-#include <SoftwareSerial.h>
-
-#define _DBG_RXPIN_ 2
-#define _DBG_TXPIN_ 3
 
 #define debugBaudRate 9600
 
-
-//#define UNO           //uncomment this line when you use it with UNO board
-#define MEGA        //uncomment this line when you use it with MEGA board
-
-
 #define DEBUG
 
-
-#ifdef UNO
-#define _cell   Serial
-#define DebugSerial mySerial
-
-#endif  
-#ifdef MEGA
 #define _cell   Serial1
 #define DebugSerial Serial
-#endif  
-        
-
-        
-        
-#ifdef UNO
-extern SoftwareSerial mySerial;
-
-#endif
-
-
+       
 //The way of encrypstion
 #define    OPEN          0
 #define    WEP           1
@@ -71,12 +29,6 @@
 #define    AP      2
 #define    AP_STA  3
 
-#define SERIAL_TX_BUFFER_SIZE 128
-#define SERIAL_RX_BUFFER_SIZE 128
-
-
-
-
 
 class WIFI
 {