필터 지우기
필터 지우기

Analog input always zero

조회 수: 3 (최근 30일)
Daniel
Daniel 2014년 4월 2일
I really need help here.
My goal is to simply read analog values from the Arduino Mega using the "analog in" block. I know for a fact that the board physically works as I could read analog inputs using the Arduino IDE.
I am using the Arduino support package. Simulink returns a zero no matter what voltage I apply to the analog inputs. I am able to get PWM output working, so I know that the model is downloading to the Arduino Mega.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Arduino Hardware에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by