![]() Turns out, you can use it as an input in certain circumstances. There’s a sample on GitHub that shows how you can create two OneButton objects connected to different hardware devices.īy the way, the little box may have only one button, but it also has a power switch. Of course, the library will work with any program and there’s no reason you can’t have more than one button and simply multiply their functions with the same strategy. So the device might be usable for something. The packaging of the tiny Arduino, the battery, and the display in a good looking case, was pretty impressive. ![]() The OLED display is only 64×48 so that’s not a lot of room. His original projects also included a Flappy Bird clone. But if you only have a limited amount of space or pins, it can make the difference between a feasible project and one you can’t finish. You can find the source code online and he used a library from GitHub to handle the reaction to single presses, double presses, and long presses. After doing some obvious things (like a counter or stopwatch) he decided to make a calculator for his latest Volos Projects video.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |