How define the serial port TX2,RX2 in the ide

Powersoft

New member
Hello,

I wont connect a Pic24 via the serial port to my Teensy 4.1. Baudrate not important say 115200 Baud. Use pins 7 and 8.
How should I declare the serial port?
Can I simple use Serial2.begin(115200), or Serial2.begin(115200,8n1,7,8)?

Found also a comand with hardware serial?

Is there a general approach to connect by serial? Have seen a lot of examples but the are alway different.

Cheers
Jan
 
Back
Top