Pin Error With Arduino Mega 2560
显示 更早的评论
I have used the targetinstaller to enable Simulink support for the Arduino Mega 2560 board. I am running under WIndows 7 Ultimate (64 bit) and Matlab/Simulink 2012a.
When I try to specify a digital output of 22 I get an error that the Uno boards can only support up to 9 output pins. Since I am using a Mega 2560 I should be able to specify I/O pin addresses up to 53 or so. I have reinstalled the Mega 2560 targetinstaller but that had no effect.
Any suggestion?
采纳的回答
更多回答(1 个)
Rolfe Dlugy-Hegwer
2012-6-14
0 个投票
Thanks for the suggestion, Randall. I've added a comment to the help topic for that block, and will recommend your enhancement of the error message to a developer.
类别
在 帮助中心 和 File Exchange 中查找有关 Arduino Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!