EasyManua.ls Logo

EDA ED-HMI2120-101C - Configuring Buzzer

Default Icon
79 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
5 Configuring System
ED-HMI2120-101C User Manual 5-31
5.8 Configuring Buzzer
The ED-HMI2120-101C contains a buzzer, and the control pin is GPIO6. You can manually configure
the buzzer to turn on and off.
Execute the following command to turn on the buzzer.
sudo raspi-gpio set 6 op dh
op means set to output, dh means that pin is high level.
Execute the following command to turn off the buzzer.
sudo raspi-gpio set 6 op dl
op means set to output, and dl means that pin is low level.

Table of Contents