How to select pins for Arduino Mega 2560 with Simulink?

1 次查看(过去 30 天)
I have configured my Simulink setup to run on Arduino Mega 2560 hardware. But I cannot select input or output pin numbers greater than 13, which is okay for an Uno. The Mega has support up to 53 pins, but I cannot select a larger number than 13 without getting an error.
ERROR: "Digital Output block parameter Pin number must be an integer between 0 and 13."
How can I fix this please? Thanks.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

产品


版本

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by