Rank: 362666 based on 0 downloads (last 30 days) and 0 file submitted
photo

Alonso

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Alonso
Updated File Comments Rating
20 Dec 2011 MATLAB Support for Arduino (aka ArduinoIO Package) MATLAB class and Simulink blocks for communicating with an Arduino microcontroller board Author: MathWorks Classroom Resources Team

For the INTERNAL problem with the mega2560 I found this: http://arduino.cc/en/Reference/AnalogReference

INTERNAL: an built-in reference, equal to 1.1 volts on the ATmega168 or ATmega328 and 2.56 volts on the ATmega8 (not available on the Arduino Mega)
INTERNAL1V1: a built-in 1.1V reference (Arduino Mega only)
INTERNAL2V56: a built-in 2.56V reference (Arduino Mega only)

So just replace "INTERNAL" with "INTERNAL1V1" and it should work.

Contact us