from pins_arduino.h - Pin definitions, tables and functions for Arduino Part of Arduino - http://www.arduino.cc/ Copyright (c) 2007 David A. Mellis */ tersified by DGerman@Real-World-Systems.com for easier reading (c)2012 Dennis G German Not expected to be compilable! Not all syntax is exact nor 8/16 bit explicit NUM_DIGITAL_PINS 20 NUM_ANALOG_INPUTS 6 ( on 28 in packages!) // assigning index numbers to pins permitts accessing these tables in flash analogInputToDigitalPin(p) ((p < 6) ? (p) + 14 : -1) AD0 aka D0+14 digitalPinHasPWM(p) 1 for p=3, 5, 6, 9, 10, 11 ATmega8 doesn't do 3, 5, 6 const static uint8_t ++++ why are these static constants instead of compiler variables ie define SS 10 SS = 10; MOSI = 11; MISO = 12; SCK = 13; ++++ this means SDA=1 cannot be SBI SDA rather LD r,SDA; SL r