Skip to content

Commit

Permalink
Update creating-configuration.mdx (#247)
Browse files Browse the repository at this point in the history
* Update creating-configuration.mdx

* Update creating-configuration.mdx
  • Loading branch information
haslinghuis authored Dec 6, 2023
1 parent 3c5de7f commit bb06a37
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/manufacturer/creating-configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,13 @@ 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 bb06a37

Please sign in to comment.