Skip to content

Commit

Permalink
Update creating-configuration.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis authored Dec 2, 2023
1 parent d588c1e commit df84451
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/manufacturer/creating-configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,11 @@ The following example shows how to configure the serial ports for a flight contr
#define VTX_SMARTAUDIO_UART SERIAL_PORT_USART3
#define GPS_UART SERIAL_PORT_USART4

Note: serial command is zero index based, so the first serial port is `SERIAL_PORT_USART1` and not `SERIAL_PORT_USART0`.
:::note
Serial command is zero index based, so the first serial port is `SERIAL_PORT_USART1` and not `SERIAL_PORT_USART0`.

The USART is meant to do all of the “heavy lifting” serial communication during periods of “high” energy consumption. When the microcontroller is asleep and in a low power mode, though, the UART peripheral can handle low speed communications while offering a reduced energy footprint. Betaflight has UART4 and UART5. Other serial ports are USUART as some board provide LPUART1
:::

### Serial Receiver Provider

Expand Down

0 comments on commit df84451

Please sign in to comment.