Button Press using Arduino
11 views (last 30 days)
Show older comments
How would I be able to detect a button press using an arduino so that everytime the button is pressed a variable gets its value reduced by 1?
1 Comment
Rohan Kale
on 6 May 2021
Please refer to the readDigitalPin API to read data from digital pin on Arduino hardware
Answers (0)
See Also
Categories
Find more on Arduino Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!