mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-21 04:26:24 +08:00
gpio.cpp: Add backticks around gpio command docs
This commit is contained in:
@@ -299,9 +299,10 @@ void usage(const char *reason)
|
||||
R"DESCR_STR(
|
||||
### Description
|
||||
This command is used to read and write GPIOs
|
||||
|
||||
```
|
||||
gpio read <PORT><PIN>/<DEVICE> [PULLDOWN|PULLUP] [--force]
|
||||
gpio write <PORT><PIN>/<DEVICE> <VALUE> [PUSHPULL|OPENDRAIN] [--force]
|
||||
```
|
||||
|
||||
### Examples
|
||||
Read the value on port H pin 4 configured as pullup, and it is high
|
||||
|
||||
Reference in New Issue
Block a user