MATLAB: Arduino mega 2560

arduinoarduino mega

i have a problem to deal with arduino mega with simulink the problem is the digital block for (read or write) containing numbers from 2 : 19
and the arduino mega have 69 digital I/O
knowing that i modified the serv.pde file as mentioned in the read me file with the package
Can Any one help me ??
thanks for all

Best Answer

The Mega 2560 has 54 digital I/O pins, from 0 to 53, as specified here: http://arduino.cc/it/Main/ArduinoBoardMega2560 The board groups and labels these pins as "PWM", "Communication", and "Digital" pins. Can you clarify your question or explain what you are doing?
Related Question