From 019b6ac1de2bbdb4fde302046b8d51e462e242c1 Mon Sep 17 00:00:00 2001 From: OldCodeFans Date: Wed, 26 May 2021 21:56:31 +0800 Subject: [PATCH] resovle the conplict comment one line code that is Serial.begin(115200); in setup(). because this line conflict with M5.begin() that include Serial init. tested with M5stack fire and NB-IOT-CN --- Module/COMX_NB-IoT/COMX_NB-IoT.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Module/COMX_NB-IoT/COMX_NB-IoT.ino b/Module/COMX_NB-IoT/COMX_NB-IoT.ino index 8b8944f..9188ed7 100644 --- a/Module/COMX_NB-IoT/COMX_NB-IoT.ino +++ b/Module/COMX_NB-IoT/COMX_NB-IoT.ino @@ -304,7 +304,7 @@ void setup() { // put your setup code here, to run once: M5.begin(); - Serial.begin(115200); + //Serial.begin(115200); compl //conflict with M5.begin() that include Serial init. Serial2.begin(115200, SERIAL_8N1, 5, 13); //Serial.printf("FUCK STC\n");