evert-arias / EasyBuzzer

The Beep Library For Arduino
https://evert-arias.github.io/EasyBuzzer
MIT License
84 stars 22 forks source link

[Question] data in callback function #15

Open Modifikator opened 4 years ago

Modifikator commented 4 years ago

Hi, I need put parameters in callback function, like as JsonObject& DATA How to do it?

evert-arias commented 4 years ago

Hi @Modifikator Currently the library does not implement callback functions with arguments. I recommend that you take a look at lambda expressions and std::bind.