mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
Merge pull request #314 from seagull9000/RTTTL-tweaks1
RTTTL on message types
This commit is contained in:
commit
ecfeb2ff63
5 changed files with 32 additions and 10 deletions
|
|
@ -2,8 +2,8 @@
|
|||
#include "buzzer.h"
|
||||
|
||||
void genericBuzzer::begin() {
|
||||
Serial.print("DBG: Setting up buzzer on pin ");
|
||||
Serial.println(PIN_BUZZER);
|
||||
// Serial.print("DBG: Setting up buzzer on pin ");
|
||||
// Serial.println(PIN_BUZZER);
|
||||
#ifdef PIN_BUZZER_EN
|
||||
pinMode(PIN_BUZZER_EN, OUTPUT);
|
||||
digitalWrite(PIN_BUZZER_EN, HIGH);
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@
|
|||
- make message ring tone configurable
|
||||
|
||||
*/
|
||||
|
||||
class genericBuzzer
|
||||
{
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue