im newbie in here i know the MEGA 2560 has the 3 couple serial communication i wanna using RX2 and TX2 how can i declare or define the pins thx
If you want to use it for serial comms, Serial2.begin().
how can i declare or define the pins thx
The pins for each of the Serial ports are fixed. You cannot change them
See Arduino Serial
Nautilius:
im newbie in here i know the MEGA 2560 has the 3 couple serial communication i wanna using RX2 and TX2 how can i declare or define the pins thx
Check the documentation on the MEGA product page. There is complete pin information there.