Configuring Buzzer
The device contains a buzzer, which supports manually configure the buzzer to turn on and off.
- Execute the following commands to detect and install gpiod tools.
sudo apt update
sudo apt install gpiod
- Execute the following command to turn on and turn off the buzzer.
- Turn on the buzzer:
gpiofind BUZZER_EN | awk '{print substr($0,9)}' | xargs -i bash -c "gpioset {}=1"
1
indicates the high level.
- Turn off the buzzer:
gpiofind BUZZER_EN | awk '{print substr($0,9)}' | xargs -i bash -c "gpioset {}=0"
0
indicates the low level.