9 lines
295 B
Plaintext
9 lines
295 B
Plaintext
# USART Commands
|
|
|
|
Instead of polling for input we use an interrupt vector
|
|
to write data to a rx ring buffer when it's available.
|
|
|
|
We parse commands using a state machine so we can deal
|
|
with small chunks of characters at a time and spit out
|
|
the parsed command when the transmission has finished.
|