- You connected the potentiometer to a pin 54 which cannot be configured as an analog pin.
- Check the connections to understand whether the connection is proper at other ends.
hi i was trying to connect arduino MEGA with simulink i got this error, please help
2 次查看(过去 30 天)
显示 更早的评论
i connected a potentiometer with analog input and trying to plot it in scope and i got this error
0 个评论
回答(1 个)
Gokul Nath S J
2023-4-21
Hi Sriakilan,
Based on my understanding the error can pop up due to the following situation.
As a workaround, try reconnecting and reconfiguring the device to a different analog pin. Make sure the connections are done properly.
Thanks,
Gokul Nath S J
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Arduino Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!