evert-arias / EasyBuzzer

The Beep Library For Arduino

Home Page:https://evert-arias.github.io/EasyBuzzer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

argument 'beeps' is considered as sixth position

umeshwalkar opened this issue · comments

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 int frequency, unsigned int const onDuration, unsigned int const offDuration, byte const beeps, unsigned int const pauseDuration, unsigned int const sequences) at line 38 and 52

and

see the function

beep(frequency, mOnDuration, mOffDuration, 1, mPauseDuration, beeps, finishedCallbackFunction); at line 25 , 30, 35.

intended beeps count are not achieving.