Search found 1 match

by Supervisor
Wed Nov 01, 2023 11:14 am
Forum: General discussion
Topic: STM32 USART register
Replies: 1
Views: 7012

STM32 USART register

I'm trying to use a library written for Atmel chip.

commandStartNewFrame(UART_PIXEL_FORMAT_RGB565);
for (uint16_t j=0; j<lineCount; j++) {
for (uint16_t i=0; i<lineLength; i++) {
waitForPreviousUartByteToBeSent();
UDR0 = formatRgbPixelByteH(colorH);
waitForPreviousUartByteToBeSent();
UDR0 ...

Go to advanced search