EasyBuzzer
EasyBuzzer copied to clipboard
The Beep Library For Arduino
Errors: .pio/libdeps/nrf52_dk/EasyBuzzer/src/EasyBuzzer.cpp:82:2: error: 'noTone' was not declared in this scope noTone(mPin); ^~~~~~ .pio/libdeps/nrf52_dk/EasyBuzzer/src/EasyBuzzer.cpp: In member function 'void EasyBuzzerClass::update()': .pio/libdeps/nrf52_dk/EasyBuzzer/src/EasyBuzzer.cpp:149:3: error: 'tone' was not declared in this scope tone(mPin, mFreq); ^~~~...
If the update() function is delayed, for instance because of a long process, the sound does not stop. Suggestion: Change, from line 122: if (!sequenceDuration || (mSequences != 0 &&...
Well at first used I didnt understand the definitions, so may be newones like dont understand I made a graph to easly understand 
not a bug as such, but be careful with the #DEFINES in EasyBuzzer.h ``` #ifdef ESP8266 #define min _min #define max _max #endif #ifdef ESP32 #define min _min #define max...
Hi, i've tested the library with arduino nano, and is ok! thanks for great library!
Hi, I need put parameters in callback function, like as JsonObject& DATA How to do it?
EasyBuzzer went into conflict with IRremote libraries. I solved by changing the timer selection from 2 to 1 in IRremote's boarddefs.h file: ``` // Arduino Mega #if defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__)...
Hi, I noticed that in actual 'beep' functions , the 'beeps' argument is placed at fourth position but calling/passing it from other versions of 'beep' at sixth position. void EasyBuzzerClass::beep(unsigned...
- > Fixed the bug that the max macro was already defined by creating a custom macro. - > When there was a large delay in a part of the...
Hi Evert, I made some changes to your EasyBuzzer library : - I removed ESP32 specific code since ESP32 Arduino framework now supports tone() method. - I added a new...