- 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!