aymen ammari
DIIDevHeads IoT Integration Server
•Created by aymen ammari on 7/16/2024 in #firmware-and-baremetal
seeking for help related to data communication with a uart module.
Hi, I am seeking for help related to data communication with a uart module. The module was connected via RX0 and TX1 pins in arduino Nano , however when I am trying to send data with Serial.write(...), the program just cannot upload to the board at all. Was it because of code uploading also need to use Serial via USB? Or something else?
This is the code:
void setup() {
// put your setup code here, to run once:
Serial.begin(9600, SERIAL_5E1);
delay(1000);
Serial.write(0xFE);
Serial.write(0xFD);
Serial.write(0x01);
Serial.write(0x01);
}
6 replies