created page to get rid of wall of text in commands

blakadder 2019-10-27 11:45:40 +01:00
parent 2926291649
commit 8a68011827
1 changed files with 5 additions and 0 deletions

5
Buzzer.md Normal file

@ -0,0 +1,5 @@
Command|Parameters
:---|:---
Buzzer<a id="Buzzer"></a>|`0` = stop active buzzer cycle &emsp;» v6.6.0.18<BR>`<count>,<beep>,<silence>,<tune>` - all parameters are optional. &emsp;» v6.6.0.4 <br>*(default is one 100 millisecond beep (`1` for `<count>`, `<beep>`, and `<silence>`))*.<BR><BR>`<tune>` is a 32-bit [bitmask](https://en.wikipedia.org/wiki/Mask_(computing)#Masking_bits_to_1) where a `1` bit beeps and a `0` bit is silence according to `<beep>` and `<silence>`, respectively. The tune is played from most significant bit (MSB) to least significant bit (LSB). Leading and trailing `0` bits are ignored. If `<tune>` is specified, `<count>` is ignored. If `<tune>` is `0`, it is ignored.<BR>`3` - Beep three times with 100 milliseconds duration and 100 milliseconds pause<BR>`2,3` - Beep twice with 300 milliseconds duration and 100 milliseconds pause<BR>`2,3,4` - Beep twice with 300 milliseconds duration and 400 milliseconds pause<BR>`1,2,3,0xF54` (0000 0000 0000 0000 0000 1111 0101 0100). Each `1` bit beeps for 200 milliseconds and each bounded `0` bit pauses for 300 milliseconds
>**A device LED can be assigned as a `Buzzer` component to display a blink pattern.**