Code: github.com/kriddaw/arduino-my...
In this quick video I go through a C++ class that I wrote to improve the ezButton Arduino library a bit. This is already a great library and makes working with buttons…well…easy! But I found myself having a lot of repetitive code in my sketches when using multiple buttons. So to make everything more modular, I came up with this solution and thought I’d share it with the world. If you get some value out of this video, don’t forget to smash that like buttons and subscribe, see ya in the next one.
Grab some gear and start tinkering:
* Arduino Mega 2560 amzn.to/3GFJT5t
* uBlox NEO 6M GPS Module amzn.to/3RFimHC
* OLED Display amzn.to/3GLX0Sx
* SD Card Module amzn.to/3v1eOXi
* Buzzer amzn.to/3GD9En9
* Buttons amzn.to/3uP1Pb6
* Resistor kit: amzn.to/3uoJ91O
* Breadboard kit: amzn.to/49KOwZq
Need Royalty Free music for your videos? Check out epidemic sound at share.epidemicsound.com/i01fpw
All links are affiliate links, I make a small commission but at no extra cost to you, it helps support the channel and the hard work that goes into making weekly videos, thanks!
Негізгі бет Arduino : Handling Multiple Short and Long Press Buttons | Code Example
Пікірлер