Данные с лидара читаются

This commit is contained in:
2026-02-27 12:18:24 +03:00
parent bbd0bd2004
commit 484dcf5843
2 changed files with 5 additions and 5 deletions

View File

@@ -59,10 +59,8 @@ void lidar_init()
NVIC_EnableIRQ(USART3_IRQn);
}
uint32_t test;
void USART3_IRQHandler()
{
++test;
if (USART3->ISR & USART_ISR_RXNE)
{
uint8_t b = USART3->RDR;