Arduino Mega2560 SERIAL_7E1


i have problem.i want use arduino commuicate device rs232.

the device rs232 setting: baud rate:9600, data bit:7, parity bit:even, stop bit:1

my program below

void setup()
{
    serial.begin(9600,serial_7e1);
}

void loop()
{
    serial.println("asd");
    delay(500);
}


i download program arduino , finished.
i open terminal check test.
it don't show asd, show garbled message.


anyone know problem,help me solve it.

thanks you.

quote
i open terminal check test.
it don't show asd, show garbled message.
the ide serial monitor communicates using 8n1 have connect special device knows how deal 7bit communication.


Arduino Forum > Using Arduino > Programming Questions > Arduino Mega2560 SERIAL_7E1


arduino

Comments

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

RFID-RC522 with Arduino Pro Micro project. Error on the code?