Hello ;
We are designing a commercial weather station with the E0 module and currently having trouble with UART5 / Serial 5. Every time I compile and flash code that uses Serial 5 the module runs through the loop once and eventually locks up the device. All other serial ports work fine except this one. After pulling my hair out I made this simple program to confirm that I am not crazy :
#include “Serial4/Serial4.h”
#include “Serial5/Serial5.h”
void setup() {
Serial.begin(9600);
Serial5.begin(9600);
}
void loop() {
Serial.println(“Usb Serial”);
Serial5.println(“Serial 5”);
delay(1000);
}
After I flash this the device locks up and needs to be put into safe mode in order to reprogram it, if I comment out the Serial5.println line the problem goes away. Currently I am running OS v0.7.0 and I have tried with 5.4 and 6.4…
Does anybody have any advice on this one?
–Richard