hi i was trying to connect arduino MEGA with simulink i got this error, please help

2 ビュー (過去 30 日間)
SRIAKILAN S A
SRIAKILAN S A 2023 年 4 月 5 日
回答済み: Gokul Nath S J 2023 年 4 月 21 日
i connected a potentiometer with analog input and trying to plot it in scope and i got this error

回答 (1 件)

Gokul Nath S J
Gokul Nath S J 2023 年 4 月 21 日
Hi Sriakilan,
Based on my understanding the error can pop up due to the following situation.
  • 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.
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

カテゴリ

Help Center および File ExchangeArduino Hardware についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by