Arduino mega 2560 + simulink

Hi There,

I am using a mega 2560 to read the analog input (voltage from a potentiometer) using simulink. Have already installed all the required support packages but unable to get any output. Strangely when I am trying to read using script (readVoltage command) it is working fine.

Please help me to resolve the issue.

Regards

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.