From 6cf7646a6686316a1918a463519b39d2064e403c Mon Sep 17 00:00:00 2001 From: zhangabc Date: Fri, 8 May 2015 15:18:29 +0800 Subject: [PATCH] // edit example in line 1 --- examples/HMIHardwareSerial/HMIHardwareSerial.ino | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/examples/HMIHardwareSerial/HMIHardwareSerial.ino b/examples/HMIHardwareSerial/HMIHardwareSerial.ino index a5f03ec..6e722b3 100644 --- a/examples/HMIHardwareSerial/HMIHardwareSerial.ino +++ b/examples/HMIHardwareSerial/HMIHardwareSerial.ino @@ -1,9 +1,12 @@ #include -HMI myhmi(Serial2); // If you want to use another hardware serial,please edit this line. -void setup() +/*For UNO board,we advice you to use software serial,because hardware serial has been used to output log in this example.*/ + +HMI myhmi(Serial2); //For MEGA board,if you want to use another hardware serial,please edit this line. +void setup() { Serial.begin(9600); } + void loop() { if (myhmi.pictureEdit("p3",10) == 1)