WiringProject / Wiring

Wiring Framework
http://wiring.org.co/
Other
217 stars 168 forks source link

Incomplete pin definition for Nano board #14

Open tochinet opened 12 years ago

tochinet commented 12 years ago

The Nano boards is expected by Wiring to be yet another Uno or so, while it has two additional analog pins A6 and A7. Actually all other boards with the SMD version of the ATmega 328 or 168 have these pins, but they might be unavailable (on thePro mini, they are unrouted for example.)

Suggestion : add A6 and A7 definitions to the "c:\Program Files\Wiring\hardware\Arduino\DuemilanoveUno\BoardDefs.h" file And add some #ifdefs to

Also duplicate / correct the "#define TOTAL_ANALOG_PINS 6" to 8.

Note that this issue could be merged with (reference?) the other that recommends numbering analog pins as they should (starting at 14, or 55 for MEGA)