This is a feature request:
It would be helpful to add an analogNumber getter to the Pin object. This
returns the analog number (from the IOModule) rather than the digital number
(that Pin.number returns). So for pin A0 on an Arduino Uno,
pinInstance.analogNumber is 0 and pinInstance.number is 14.
Run an Analog Mapping Query after the Capability Query has been processed in
order to get the correct analog pin associations (this is important for boards
like Teensy 2.0). The analogNumber value can be obtained from the Analog
Mapping results.
Original issue reported on code.google.com by jeff.ho...@gmail.com on 14 Jan 2012 at 7:31
Original issue reported on code.google.com by
jeff.ho...@gmail.com
on 14 Jan 2012 at 7:31