How to select pins for Arduino Mega 2560 with Simulink?

1 vue (au cours des 30 derniers jours)
Miran Dabare
Miran Dabare le 27 Juil 2018
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.

Réponses (0)

Produits


Version

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by