Update page 'Home'

Dennis Potter 2018-11-27 13:02:51 +01:00
parent 735fedf834
commit f2fc5333b6

17
Home.md

@ -34,5 +34,18 @@ OPTIONS:
-p, --pedal <pedals>... Specify specific pedals. Possible values: [0 | 1 | 2]
```
In other words, to acquire the settings of all pedals, run: `footswitch-rs read --all`. To acquire only information of specific pedal (e.g., 1 and 2), run: `footswitch-rs read --p 1 2`.
## Writing data to the foot pedal
In other words, to acquire the settings of all pedals, run: `footswitch-rs read --all`. To acquire only information of specific pedals (e.g., 1 and 2), run: `footswitch-rs read -p 1 2`.
## Writing data to the foot pedal
## Clearing pedals
In contrast to the original implementation on [rgerganov/footswitch](https://github.com/rgerganov/footswitch), this implementation does not clear foot pedals if they are not explicitly set during a write operation. To clear the configuration of a pedal, a separate function has to be explicitly invoked. The help function `footswitch-rs clear --help` yields te following information (omitted redundant information):
```bash
USAGE:
footswitch-rs clear [OPTIONS]
OPTIONS:
-p, --pedal <pedal>... Specify pedal(s) to clear: [0 | 1 | 2]
```
Thus, to clear pedals (e.g., 1 and 2), run: `footswitch-rs clear -p 1 2`.