Hi Bryan. Thanks for watching my video! At the beginning of the code you have the following: BfButton btn(BfButton::STANDALONE_DIGITAL, btnPin, true, LOW); You can create multiple of these to initialize each separate button (such as shown below), but you also have to add more code further below on the code to make it work: BfButton btn1(BfButton::STANDALONE_DIGITAL, btnPin, true, LOW); My recommendation would be to simply take a look at one of the examples that comes with the library. To do this go to File --> Examples --> Scroll down to "ButtonFever" --> Analaog_button_array (click to open the example). Copy and past the example code and adapt it to your own application.
Where to buy [Amazon Affiliate]:
Arduino UNO: amzn.to/3U7xAoT
Rotary Encoder (KY-040): amzn.to/4b8q18p
Hilitchi Transistors Assortment Kit: amzn.to/4aI8Mux
Breadboard (Elenco 9440): amzn.to/4b5Onzq
❤❤
Love your channel. Excellent, clear descriptions and visuals, and pro level website additions. Kudos!
Thanks for watching and the kind words!
3rd tutorial and finally code that works, thank you very much
Glad it helped! Thanks for watching.
Your video is so easy to follow, thanks alot!
Thanks!
Led brightness cantrol ❤
This tutorial is amazing. Thanks.
Thanks for watching!
Any idea why the counter usually increments by two when the knob moves one notch?
Ah, found you here! Have you found a solution for this?
I'm getting increments of 2, instead of 1. One for when the knob isn't clicked and a second one for when it clicks. Any idea what could be happening?
OMG how do you undock the Serial Monitor???
Arduino uno PWM with rotary Encoder Sketch can you help with the code
Rotary encoder no push als volume knob max 15 steps
Hi Thank you for the video
I wanted to use the bf button library for a second decoder, how do I include the second pushbutton? I am new 5o arduino
Hi Bryan. Thanks for watching my video! At the beginning of the code you have the following:
BfButton btn(BfButton::STANDALONE_DIGITAL, btnPin, true, LOW);
You can create multiple of these to initialize each separate button (such as shown below), but you also have to add more code further below on the code to make it work:
BfButton btn1(BfButton::STANDALONE_DIGITAL, btnPin, true, LOW);
My recommendation would be to simply take a look at one of the examples that comes with the library. To do this go to File --> Examples --> Scroll down to "ButtonFever" --> Analaog_button_array (click to open the example).
Copy and past the example code and adapt it to your own application.
@@diyengineers Thank you for your reply.
this library using interupt for encoder?
i cant access your website
wanna try that code for my project
Hi! Please try accessing again. I think the problem should be solved now!
@@diyengineers yoo man, thanks a lot
appreciate that
Hi No link to the code!!!
Hi, it's on the videos's description. Thanks for watching!
Dommage pas de code