| Documentation For Arduino users

- Main Page
- Related Pages
- Modules
- Classes
- Files
- Examples

- File List
- File Members

NexConfig.h
Go to the documentation of this file.
1
15 #ifndef __NEXCONFIG_H__
16 #define __NEXCONFIG_H__
17
27 #define DEBUG_SERIAL_ENABLE
28
32 #define dbSerial Serial
33
37 #define nexSerial Serial2
38
39
40 #ifdef DEBUG_SERIAL_ENABLE
41 #define dbSerialPrint(a) dbSerial.print(a)
42 #define dbSerialPrintln(a) dbSerial.println(a)
43 #define dbSerialBegin(a) dbSerial.begin(a)
44 #else
45 #define dbSerialPrint(a) do{}while(0)
46 #define dbSerialPrintln(a) do{}while(0)
47 #define dbSerialBegin(a) do{}while(0)
48 #endif
49
54 #endif /* #ifndef __NEXCONFIG_H__ */