|Issue 33:||add analogNumber getter to Pin object||
‹ Prev 18 of 18
|1 person starred this issue and may be notified of changes.||Back to list|
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.
Jan 14, 2012
This is low priority. Just notting it so I don't forget.
|► Sign in to add a comment|