Arduino read digital input always 1
Show older comments
Hello,
I'm trying to read a digital input in simulink and then activate the 13 led pin of my arduino MEGA via a digital output. My problem is that the input is always 1, no matter if I push the button or not. How can I solve this?
Thanks in advance and regards,
Accepted Answer
More Answers (1)
mikel lasa
on 5 Nov 2020
0 votes
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!