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.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
0 件のコメント
サインインしてコメントする。