From 04475f4bfed43d3e956ffeb28e8aa4b552f922f7 Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Sun, 16 May 2010 04:05:40 +0000 Subject: 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. --- cores/arduino/pins_arduino.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'cores/arduino/pins_arduino.c') 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[] = { -- cgit v1.2.3-18-g5258