We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea7d943 commit 4453c33Copy full SHA for 4453c33
KY006_Buzzer/KY006_Buzzer.cpp
@@ -2,7 +2,7 @@
2
* All rights reserved
3
*/
4
/*
5
- KY006_Buzzer.cpp - Control KY-006 passive piezo buzzer connected
+ KY006_Buzzer.cpp - Control KY-006 piezo buzzer connected
6
to a digital pin.
7
8
KY006_Buzzer/KY006_Buzzer.h
@@ -2,12 +2,15 @@
- KY006_Buzzer.h - Control KY-006 passive piezo buzzer.
+ KY006_Buzzer.h - Control KY-006 piezo buzzer.
#ifndef KY006_Buzzer_h
#define KY006_Buzzer_h
9
10
#include <Arduino.h>
11
+#if defined(ESP32)
12
+#include <Tone32.h>
13
+#endif
14
15
class KY006_Buzzer
16
{
0 commit comments