All Classes Files Functions Typedefs Groups Pages
NexConfig.h
Go to the documentation of this file.
#ifndef __NEXCONFIG_H__
#define __NEXCONFIG_H__
#define DEBUG_SERIAL_ENABLE
#define dbSerial Serial
#define nexSerial Serial2
#ifdef DEBUG_SERIAL_ENABLE
#define dbSerialPrint(a) dbSerial.print(a)
#define dbSerialPrintln(a) dbSerial.println(a)
#define dbSerialBegin(a) dbSerial.begin(a)
#else
#define dbSerialPrint(a) do{}while(0)
#define dbSerialPrintln(a) do{}while(0)
#define dbSerialBegin(a) do{}while(0)
#endif
#endif /* #ifndef __NEXCONFIG_H__ */