mirror of
https://github.com/meshtastic/meshtastic.git
synced 2024-12-25 05:34:11 -08:00
fix(docs): Correct rotary encoder event commands in Canned Message Module Documentation (#1618)
* fix(docs): correct rotary encoder event commands in Canned Message Module Updated the example commands for configuring rotary encoder events in the Canned Message Module documentation. Replaced incorrect values `KEY_UP`, `KEY_DOWN`, and `KEY_SELECT` with the correct enum values `UP`, `DOWN`, and `SELECT`. Included an example error message to guide users in troubleshooting incorrect configurations. * correct other examples --------- Co-authored-by: rcarteraz <robert.l.carter2@gmail.com>
This commit is contained in:
parent
fcfcef1d54
commit
7198f70f8a
|
@ -192,17 +192,17 @@ meshtastic --set canned_message.inputbroker_pin_press 0
|
|||
```
|
||||
|
||||
```shell title="Set/Unset Input Broker CW Event"
|
||||
meshtastic --set canned_message.inputbroker_event_cw KEY_UP
|
||||
meshtastic --set canned_message.inputbroker_event_cw UP
|
||||
meshtastic --set canned_message.inputbroker_event_cw ""
|
||||
```
|
||||
|
||||
```shell title="Set/Unset Input Broker CCW Event"
|
||||
meshtastic --set canned_message.inputbroker_event_ccw KEY_DOWN
|
||||
meshtastic --set canned_message.inputbroker_event_ccw DOWN
|
||||
meshtastic --set canned_message.inputbroker_event_ccw ""
|
||||
```
|
||||
|
||||
```shell title="Set/Unset Input Broker Press Event"
|
||||
meshtastic --set canned_message.inputbroker_event_press KEY_SELECT
|
||||
meshtastic --set canned_message.inputbroker_event_press SELECT
|
||||
meshtastic --set canned_message.inputbroker_event_press ""
|
||||
```
|
||||
|
||||
|
@ -316,9 +316,9 @@ Replace each `GPIO` (x3) below with the GPIO numbers from your hardware setup.
|
|||
meshtastic --set canned_message.inputbroker_pin_a GPIO
|
||||
meshtastic --set canned_message.inputbroker_pin_b GPIO
|
||||
meshtastic --set canned_message.inputbroker_pin_press GPIO
|
||||
meshtastic --set canned_message.inputbroker_event_cw KEY_UP
|
||||
meshtastic --set canned_message.inputbroker_event_ccw KEY_DOWN
|
||||
meshtastic --set canned_message.inputbroker_event_press KEY_SELECT
|
||||
meshtastic --set canned_message.inputbroker_event_cw UP
|
||||
meshtastic --set canned_message.inputbroker_event_ccw DOWN
|
||||
meshtastic --set canned_message.inputbroker_event_press SELECT
|
||||
meshtastic --set canned_message.rotary1_enabled True
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue