Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
NexConfig.h
1 
15 #ifndef __NEXCONFIG_H__
16 #define __NEXCONFIG_H__
17 
27 //#define DEBUG_SERIAL_ENABLE
28 
32 #define dbSerial Serial
33 
37 #define nexSerial Serial
38 
39 #define utoa itoa
40 
41 
42 #ifdef DEBUG_SERIAL_ENABLE
43 #define dbSerialPrint(a) dbSerial.print(a)
44 #define dbSerialPrintln(a) dbSerial.println(a)
45 #define dbSerialBegin(a) dbSerial.begin(a)
46 #else
47 #define dbSerialPrint(a) do{}while(0)
48 #define dbSerialPrintln(a) do{}while(0)
49 #define dbSerialBegin(a) do{}while(0)
50 #endif
51 
56 #endif /* #ifndef __NEXCONFIG_H__ */