INTERNAL -> INTERNAL1V1 AND INTERNAL2V56 on the Mega (issue #194).

This commit is contained in:
David A. Mellis 2010-07-10 21:07:51 +00:00
parent 0cb0132db2
commit 52e0e1a999
3 changed files with 13 additions and 1 deletions

View File

@ -19,7 +19,9 @@ FALLING LITERAL1 AttachInterrupt
RISING LITERAL1 AttachInterrupt
DEFAULT LITERAL1 AnalogReference
EXTERNAL LITERAL1 AnalogReference
INTERAL LITERAL1 AnalogReference
INTERNAL LITERAL1 AnalogReference
INTERNAL1V1 LITERAL1 AnalogReference
INTERNAL2V56 LITERAL1 AnalogReference
# KEYWORD1 specifies datatypes and C/C++ keywords

View File

@ -20,6 +20,9 @@ ARDUINO 0019
* Disabling interrupts while digitalWrite() and pinMode() write to pins.
http://code.google.com/p/arduino/issues/detail?id=146
* Replacing INTERNAL analog reference with INTERNAL1V1 AND INTERNAL2V56 on
the Arduino Mega. http://code.google.com/p/arduino/issues/detail?id=194
[environment]
@ -30,6 +33,8 @@ ARDUINO 0019
* Synchronized with the Processing 1.1 code base, bringing various changes.
* Modified the parsing of avr-gcc / avr-g++ output and error messages.
* Adding control over scrolling in serial monitor.
http://code.google.com/p/arduino/issues/detail?id=97

View File

@ -57,7 +57,12 @@ extern "C"{
#define FALLING 2
#define RISING 3
#if defined(__AVR_ATmega1280__)
#define INTERNAL1V1 2
#define INTERNAL2V56 3
#else
#define INTERNAL 3
#endif
#define DEFAULT 1
#define EXTERNAL 0