VMX-Pi Controller Uart Port not working

Hello, I am trying to do UART communication between VMX-Pi and Ydlidar X2 Lidar Sensor, but the Uart port does not work.
Here is my code.

It works if you use frc::SerialPort::kUSB1 in the second argument value of the SerialPort class using USB to TTL.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.