From f2fc5333b6e3b0287f9fa0936a09a05b00133234 Mon Sep 17 00:00:00 2001 From: Dennis Potter Date: Tue, 27 Nov 2018 13:02:51 +0100 Subject: [PATCH] Update page 'Home' --- Home.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/Home.md b/Home.md index a4647a4..c78841e 100644 --- a/Home.md +++ b/Home.md @@ -34,5 +34,18 @@ OPTIONS: -p, --pedal ... 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 \ No newline at end of file +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 ... Specify pedal(s) to clear: [0 | 1 | 2] +``` + +Thus, to clear pedals (e.g., 1 and 2), run: `footswitch-rs clear -p 1 2`. \ No newline at end of file