/esp32-buzzer

Passive Buzzer Component For ESP32

Primary LanguageC

ESP32 Buzzer Component

Components Used To Drive Passive Electromagnetic Buzzer

Dependences

Usage

git submodule add git@github.com:myfreax/esp32-buzzer.git components/buzzer
#include "buzzer.h"

void app_main(void) {
  ESP_ERROR_CHECK(buzzer_config(gpio_pin));
  buzzer_once(100 * 1000);
}

Example

The ESP32 Example Project demonstrates how to use IDF framework build application of reusable component