Serial baudrate 1200
Posted: Fri May 26, 2023 1:28 pm
Hello,
I'm trying to set a Serial communication with baudrate of1200, 7 databits, parity even.
Actually, it is for a SD-12 communication.
Anyone knows how set a Serial with a baudrate of 1200?
I tryed to use SoftwareSerial to get baudrate 1200 but then the issue is with databits and parity.
Serial.begin just works with baudrate 2400, below that the MCU seems to be freezed...
I will have 2 Serial more: 1 for log/debug 115200 and 1 for a NEXTION 115200.
I'm using a NUCLEO-L476RG with PlatformIO.
Thank you.
BR,
dani68k
I'm trying to set a Serial communication with baudrate of1200, 7 databits, parity even.
Actually, it is for a SD-12 communication.
Anyone knows how set a Serial with a baudrate of 1200?
I tryed to use SoftwareSerial to get baudrate 1200 but then the issue is with databits and parity.
Serial.begin just works with baudrate 2400, below that the MCU seems to be freezed...
I will have 2 Serial more: 1 for log/debug 115200 and 1 for a NEXTION 115200.
I'm using a NUCLEO-L476RG with PlatformIO.
Thank you.
BR,
dani68k