mirror of
https://github.com/meshtastic/meshtastic.git
synced 2025-01-13 06:48:10 -08:00
Merge branch 'master' into patch-1
This commit is contained in:
commit
569be0f69f
|
@ -36,10 +36,11 @@ The list of pre-set messages as configured by the user. Messages should be separ
|
||||||
Input event sources accepted by the canned message module.
|
Input event sources accepted by the canned message module.
|
||||||
|
|
||||||
| Value | Description |
|
| Value | Description |
|
||||||
| :----------: | :------------------------------------------------------------------: |
|
| :-------------: | :------------------------------------------------------------------: |
|
||||||
| `_any` | Default. Allows any peripheral input device connected to the device. |
|
| `_any` | Default. Allows any peripheral input device connected to the device. |
|
||||||
| `rotEnc1` | Basic Rotary Encoder |
|
| `rotEnc1` | Basic Rotary Encoder |
|
||||||
| `upDownEnc1` | Up Down Encoder (use this also for RAK14006 Rotary Encoder) |
|
| `upDownEnc1` | Up Down Encoder (use this also for RAK14006 Rotary Encoder) |
|
||||||
|
| `scanAndSelect` | Single push-button (short and long press) |
|
||||||
| `cardkb` | M5 Stack CardKB (this covers RAK14004 Keymatrix) |
|
| `cardkb` | M5 Stack CardKB (this covers RAK14004 Keymatrix) |
|
||||||
| `serialkb` | Chatter serial keypad |
|
| `serialkb` | Chatter serial keypad |
|
||||||
|
|
||||||
|
@ -236,6 +237,21 @@ If you don't want to broadcast your freetext message, you can use the CardKB to
|
||||||
|
|
||||||
Just use UP/DOWN/ENTER to select a predefined message and send it.
|
Just use UP/DOWN/ENTER to select a predefined message and send it.
|
||||||
|
|
||||||
|
### Scan and Select
|
||||||
|
|
||||||
|
Use a single push-button to select and send predefined messages.
|
||||||
|
|
||||||
|
#### Setup
|
||||||
|
* Connect a normally-open push-button between ground and a GPIO pin of your choice
|
||||||
|
* Configure the canned messages module
|
||||||
|
- Set [Input Source](#input-source) to `scanAndSelect`
|
||||||
|
- Set [Input Broker Pin Press](#input-broker-pin-press) to your chosen GPIO
|
||||||
|
- Define a [list of pre-set messages](#messages)
|
||||||
|
|
||||||
|
#### Usage
|
||||||
|
* Short press: scroll through messages
|
||||||
|
* Long press: send the currently highlighted message to your primary channel
|
||||||
|
|
||||||
### Rotary encoder
|
### Rotary encoder
|
||||||
|
|
||||||
Meshtastic supports hardwired rotary encoders as input devices.
|
Meshtastic supports hardwired rotary encoders as input devices.
|
||||||
|
|
|
@ -169,7 +169,7 @@ All device config options are available in the python CLI. Example commands are
|
||||||
| device.serial_enabled | `true`, `false` | `true` |
|
| device.serial_enabled | `true`, `false` | `true` |
|
||||||
| device.button_gpio | `0` - `34` | `0` |
|
| device.button_gpio | `0` - `34` | `0` |
|
||||||
| device.buzzer_gpio | `0` - `34` | `0` |
|
| device.buzzer_gpio | `0` - `34` | `0` |
|
||||||
| device.node_info_broadcast_secs | `0` - `UINT MAX` | `10800` (3 hours) |
|
| device.node_info_broadcast_secs | `3600` - `UINT MAX` | `10800` (3 hours) |
|
||||||
| device.double_tap_as_button_press | `false`, `true` | `false` |
|
| device.double_tap_as_button_press | `false`, `true` | `false` |
|
||||||
| device.is_managed | `false`, `true` | `false` |
|
| device.is_managed | `false`, `true` | `false` |
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue