Arduino read digital input always 1
Mostrar comentarios más antiguos
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,
Respuesta aceptada
Más respuestas (1)
mikel lasa
el 5 de Nov. de 2020
0 votos
Categorías
Más información sobre Arduino Hardware en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!