Open tvannoy opened 2 weeks ago
Perhaps there is a way to enable a transmit interrupt in a similar manner to the receive interrupt. https://github.com/BMW-lab-MSU/wingbeat-modulation-lidar-pmt-gain-controller/blob/f48f441d2ec62ad59532e6f7fe2e69d16b610830/mcu/src/uart.c#L68-L70
Look into how to use interrupts instead of no-op delays to transmit characters via UART. The current method does work, though.
https://github.com/BMW-lab-MSU/wingbeat-modulation-lidar-pmt-gain-controller/blob/f48f441d2ec62ad59532e6f7fe2e69d16b610830/mcu/src/uart.c#L22-L28