How to select pins for Arduino Mega 2560 with Simulink?

2 views (last 30 days)
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.

Answers (0)

Products


Release

R2017a

Community Treasure Hunt

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

Start Hunting!