I have connected RS232 to TTL conventer to arduino mega's pin 14 and pin 15. And simply writes data using serial3 library. But it does not work.
Is there any additional requirement to use this library. Here is my code.
void setup()
{
// put your setup code here, to run once:
Serial3.begin(9600);
Serial3.println("start serial3");
}
void loop() {
// put your main code here, to run repeatedly:
}
jigisha:
I have connected RS232 to TTL conventer to arduino mega's pin 14 and pin 15. And simply writes data using serial3 library. But it does not work.
How do you know it does not work?
Where are you expecting to see the output from your Serial3.println() ?
You have only told us half of the story. What is at the other end of the RS232 cable.