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.
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.the ide serial monitor communicates using 8n1 have connect special device knows how deal 7bit communication.
it don't show asd, show garbled message.
Arduino Forum > Using Arduino > Programming Questions > Arduino Mega2560 SERIAL_7E1
arduino
Comments
Post a Comment