myfreax / esp32-buzzer

Passive Buzzer Component For ESP32

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Passive Buzzer Component For ESP32


Languages

Language:C 68.0%Language:Dockerfile 18.0%Language:CMake 14.0%