This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
comfilepi:controlling_the_piezo_buzzer:index [2023/06/26 08:42] COMFILE Technology [C++ Example] |
comfilepi:controlling_the_piezo_buzzer:index [2023/06/26 08:43] (current) COMFILE Technology [Controlling the Electro-magnetic Buzzer] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Controlling the Electro-magnetic Buzzer ====== | ====== Controlling the Electro-magnetic Buzzer ====== | ||
- | The ComfilePi has a built-in electro-magnetic buzzer. By default, it beeps when the screen is touched. | + | The CPi-A/B/C/S series panel PCSs have a built-in electro-magnetic buzzer. By default, it beeps when the screen is touched. |
===== Enabling/Disabling the Touch Beep ===== | ===== Enabling/Disabling the Touch Beep ===== | ||
Line 66: | Line 66: | ||
import pigpio | import pigpio | ||
- | PIN = 30 # CPi-A & CPi-B | + | PIN = 30 # CPi-A/B/S |
# PIN = 27 # CPi-C | # PIN = 27 # CPi-C | ||