Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

ARM: Can anyone explaine this logic? (1 Replies)

$
0
0
while (1) { USARTdrv->Receive(&cmd, 1); /* Get byte from UART */ osSignalWait(0x01, osWaitForever); if (cmd == 13) /* CR, send greeting */ { USARTdrv->Send("\nHello World!", 12); osSignalWait(0x01, osWaitForever); } } So the USARTdrv->Receive and the osSignalWait need to be ran over and over? Is the osSigna

Viewing all articles
Browse latest Browse all 3049

Trending Articles