WiringProject/Wiring — pull request #11 by kroimon (2012-02-02 16:12:55+00:00)
Title: Allow pin numbers beside channel number for analogRead().

I propose to change the values of the A0, A1, ... constants to be the pin number, not the ADC channel number.
This way you can do things like
digitalRead(A0);
where you would otherwise have to find out the pin number of the pin labeled "A0" on your board.

The patch should be completely backwards-compatible.