aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/pins_arduino.c
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2010-05-16 04:05:40 +0000
committerDavid A. Mellis <d.mellis@arduino.cc>2010-05-16 04:05:40 +0000
commit04475f4bfed43d3e956ffeb28e8aa4b552f922f7 (patch)
treed3a36592fb7f90b88666c269cfe4cc12f66f0cf9 /cores/arduino/pins_arduino.c
parent336e8908231319e4566ce1d2a92616455511d2de (diff)
Adding A0=14, A1=15, etc. aliases for analog input pins and modifying analogRead() to accept them (in addition to 0, 1, 2, etc.). Removing some unused code elsewhere.
Diffstat (limited to 'cores/arduino/pins_arduino.c')
-rwxr-xr-xcores/arduino/pins_arduino.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/cores/arduino/pins_arduino.c b/cores/arduino/pins_arduino.c
index 1c1c088..b662058 100755
--- a/cores/arduino/pins_arduino.c
+++ b/cores/arduino/pins_arduino.c
@@ -77,10 +77,6 @@
#define PK 11
#define PL 12
-#define REPEAT8(x) x, x, x, x, x, x, x, x
-#define BV0TO7 _BV(0), _BV(1), _BV(2), _BV(3), _BV(4), _BV(5), _BV(6), _BV(7)
-#define BV7TO0 _BV(7), _BV(6), _BV(5), _BV(4), _BV(3), _BV(2), _BV(1), _BV(0)
-
#if defined(__AVR_ATmega1280__)
const uint16_t PROGMEM port_to_mode_PGM[] = {