From be00d097b34e3aa064c7cbfbeb294a2a708ede83 Mon Sep 17 00:00:00 2001 From: Architecting Date: Thu, 30 Jul 2015 10:14:29 +0800 Subject: [PATCH] Update readme.md --- readme.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index 9c46fb3..62b74d4 100644 --- a/readme.md +++ b/readme.md @@ -44,7 +44,7 @@ In configuration file `NexSerialConfig.h`, you can find two macros below: - dbSerial: Debug Serial, needed by beginners for debug your nextion applications or sketches. If your complete your work, it will be a wise choice to disable Debug Serial. - - nexSerial: Nextion Serial, the bridge of Nextion and your MCU. + - nexSerial: Nextion Serial, the bridge of Nextion and your mainboard. **Note:** the default configuration is for MEGA2560. @@ -55,13 +55,15 @@ you need to modify the line in file `NexSerialConfig.h`: #define dbSerial Serial ---> #define dbSerial Serialxxx #define nexSerial Serial2 ---> #define dbSerial Serialxxx - + +## Disable Debug Serial + If you want to disable the debug information,you need to modify the line in file `NexSerialConfig.h`: #define DEBUG_SERIAL_ENABLE ---> //#define DEBUG_SERIAL_ENABLE -## Without Debug +# UNO If your board has only one hardware serial, such as UNO, you should disable dbSerial and redirect nexSerial to Serial(Refer to section:`Serial configuration`).