I would like to use the 2nd serial port on the mega in Azul. The mega currently is used for the left arm and head servos, but the 3 serial ports on the mega are not being used. How do I set the baud rate for say TX2 on the mega. I don’t need to receive any data on TX2 but want to send serial commands out. Can someone post an example to set the baud rate and send a text string out the port. The mega is already setup by python in the Inmoov routine, so the commands should be in python. I just want to pass through the mega serial text strings from MRL.
Spent the afternoon and cannot figure out how to do this
thanks