An open API service indexing awesome lists of open source software.

https://github.com/myfreax/esp32-buzzer

Passive Buzzer Component For ESP32
https://github.com/myfreax/esp32-buzzer

Last synced: 2 months ago
JSON representation

Passive Buzzer Component For ESP32

Awesome Lists containing this project

README

        

# ESP32 Buzzer Component
Components Used To Drive Passive Electromagnetic Buzzer

## Dependences
- [ESP32 Timer Component](https://github.com/myfreax/esp32-timer)

## Usage
```
git submodule add [email protected]:myfreax/esp32-buzzer.git components/buzzer
```
```c
#include "buzzer.h"

void app_main(void) {
ESP_ERROR_CHECK(buzzer_config(gpio_pin));
buzzer_once(100 * 1000);
}
```
## Example
The [ESP32 Example Project](https://github.com/myfreax/esp32-example-project) demonstrates how to use IDF framework build application of reusable component