Built-in search
Google search
Kapa AI search
Zephyr Project
v: latest
Document Release Versions
latest
4.4.0
4.3.0
3.7.0 (LTS)
Downloads
PDF
zephyrproject.org Links
Project Home
SDK
Releases
Introduction
Developing with Zephyr
Kernel
OS Services
Build and Configuration Systems
Hardware Support
Contributing to Zephyr
Project and Governance
Security
Safety
Samples and Demos
Application Development
Architecture-dependent Samples
Basic
Bluetooth
Boards
C++
Data Structures
Drivers
ADC
Audio
Auxiliary display
Auxiliary digits display
Biometrics
Buzzer
Buzzer Tone
Controller Area Network (CAN)
Charger
LiteX clock control driver
Microchip XEC (MEC15xx/MEC172x) clock control driver sample application
Counter
Cyclic Redundancy Check Drivers (CRC)
Crypto
Digital-to-Analog Converter (DAC)
Digital Addressable Lighting Interface (DALI)
Display
EEPROM
Enhanced Serial Peripheral Interface (eSPI)
Ethernet
Firmware Samples
Flash shell
FPGA
Fuel Gauge
GNSS
General Purpose I/O (GPIO)
Haptics
HT16K33 LED driver with keyscan
HWSPINLOCK
Inter-Integrated Circuit (I2C) Bus
I2S
Inter-Processor Mailbox (IPM)
JESD216 flash
HD44780 LCD controller
Light-Emitting Diode (LED)
LoRa
MBOX
MBOX Data
Memory controller (MEMC) driver
Multi-Function Device (MFD) with Charger, Fuel Gauge, and Regulators
Miscellaneous
Modem
Multi-bit SPI Bus (MSPI)
OPAMP
PECI interface
PS/2 interface
PSI5 interface
PWM
Real-Time Clock (RTC)
SENT interface
SMBus shell
nRF SoC Internal Storage
SPI bitbang
JEDEC SPI-NOR flash
AT45 DataFlash driver
Stepper
Time-aware GPIO
Universal Asynchronous Receiver-Transmitter (UART)
Video
Virtualization
1-Wire
Watchdog
Hello World
Kernel and Scheduler
External modules
Networking
Dining Philosophers
PSA
Regulator
Sensors
Shields
Subsystems
Basic Synchronization
Sysbuild
TF-M Integration
Userspace
Sample Definition and Criteria
Supported Boards and Shields
Releases
Reference
API
Kconfig Options
Devicetree Bindings
West Projects
Glossary
Zephyr Project
Docs / Latest
»
Samples and Demos
»
Drivers
»
Buzzer
Open on GitHub
Report an issue with this page
Buzzer
These samples demonstrate how to drive buzzers through the
Buzzer
.
Buzzer Tone
Play a short beep and a few tones through the buzzer device aliased as buzzer0.