readme: fix small typos

This commit is contained in:
Julian Daube 2019-10-21 13:33:06 +02:00
parent 92ba23f1cd
commit 0f289f4c70

View File

@ -12,7 +12,7 @@ The BD3491 does all the audio switching. It combines one 6 input switch and an e
The STM32 configures the BD3491 to switch to the specified inputs based on pressed buttons or software control. The STM32 configures the BD3491 to switch to the specified inputs based on pressed buttons or software control.
# serial control Syntax # serial control Syntax
The stm32 will register to the PCB as a new Serial Port. The following text commands can be send: Upon connecting the stm32 to a PC using USB it will register itself as a new Serial Port. The following text commands can be issued via said Serial connection (the baudrate is irrelevant):
- `C[number]\n` will change the input to the specified channel. The stm32 echo the command as it was understood. e.g: When Sending `C0\n` it will respond `C0\r\n` to acknowledge the channel switched to **Input 1**. When issuing a `C10` there will be no response, since 10 is out of range. *NOTE:* when using the buttons on the PCB to switch the input, the stm will also issue a `C[number]\r\n` over the serial port if it is connected to notify the PCB of the external input change. - `C[number]\n` will change the input to the specified channel. The stm32 echo the command as it was understood. e.g: When Sending `C0\n` it will respond `C0\r\n` to acknowledge the channel switched to **Input 1**. When issuing a `C10` there will be no response, since 10 is out of range. *NOTE:* when using the buttons on the PCB to switch the input, the stm will also issue a `C[number]\r\n` over the serial port if it is connected to notify the PCB of the external input change.