# esp-hal-buzzer
[](https://crates.io/crates/esp-hal-buzzer)
[](https://docs.rs/esp-hal-buzzer)


[](https://matrix.to/#/#esp-rs:matrix.org)
Provides a driver to easily interact with piezo-electric buzzers for `esp-hal`. The crate uses the underlying Ledc driver and provides a user-friendly API.
A few songs are included in the [songs](./src/songs.rs) module. Contributions are welcome.
## [Documentation]
[documentation]: https://docs.rs/esp-hal-buzzer/
## Minimum Supported Rust Version (MSRV)
This crate is guaranteed to compile on stable Rust 1.84 and up. It _might_
compile with older versions but that may change in any new patch release.
## License
Licensed under either of:
- Apache License, Version 2.0 ([LICENSE-APACHE](../LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license ([LICENSE-MIT](../LICENSE-MIT) or http://opensource.org/licenses/MIT)
at your option.
### Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in
the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without
any additional terms or conditions.