MATLAB Answers

In the Capacitive Sensor addon, can I use an analog pin on the Arduino board as the ‘sendPin’ or ‘receivePin’?

조회 수: 1(최근 30일)
In the Capacitive Sensor addon, can I use an analog pin on the Arduino board as the ‘sendPin’ or ‘receivePin’?

  댓글 수: 0

로그인 to comment.

답변 수 (1)

MathWorks MATLAB Hardware Team
This depends on the Arduino board. In some boards like the Leonardo, you cannot use an analog pin as a digital pin. To check if an analog pin can be used as a digital pin, use the isTerminalDigital command.

  댓글 수: 0

로그인 to comment.

이 질문에 답변하려면 로그인을(를) 수행하십시오.


Translated by