필터 지우기
필터 지우기

Unable to control LED on Arduino Due. Pin 13 is not a valid Digital Input/Output pin.

조회 수: 6 (최근 30일)
I'm trying the following tutorial : https://youtu.be/ksUSdFlAkAI
I'm using Arduino Due board.
I'm getting the bellow mentioned error. I'm trying to build the simulation with manual switch.
I've attached my simulink model file.
I tried running the system with Admin previledge as suggested in the link but with no success. I also tried chnaging the baud rate as suggested by some articles but again no success.
Error :
MATLAB System block 'arduinodemo/Digital Output' error occurred when invoking 'setupImpl' method of 'codertarget.arduinobase.blocks.DigitalWrite'. The error was thrown from ' 'C:\ProgramData\MATLAB\SupportPackages\R2022a\toolbox\target\shared\devicedrivers\+matlabshared\+devicedrivers\+blocks\DigitalIO.p' at line 0 'C:\Program Files\MATLAB\R2022a\toolbox\target\codertarget\sltoolstrip\m\+codertarget\+internal\+sltoolstrip\ConnectedIOHandler.m' at line 106 'C:\Program Files\MATLAB\R2022a\toolbox\target\codertarget\sltoolstrip\m\+codertarget\+sltoolstrip\EmbeddedHardwareBoardContext.m' at line 440'.
Caused by: Configuring Pin 13 as Digital Input/Output failed. Pin 13 is not a valid Digital Input/Output pin. Reconnect the hardware, provide a valid Digital Input/Output pin number for your hardware and try again.
Component:Simulink | Category:Block error

답변 (0개)

카테고리

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

태그

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by