adrianfreed
Well-known member
This bug would probably only be noticed if you were using digital functions on analog pins with Firmata or OSC:
in pins_arduino.h
in pins_arduino.h
Code:
#elif defined(__AVR_AT90USB646__) || defined(__AVR_AT90USB1286__)
//#define analogInputToDigitalPin(ch) ((ch) <= 7 ? (ch) - 38 : -1)
#define analogInputToDigitalPin(ch) ((ch) <= 7 ? 38-(ch) : -1)