kotobuki / funnel

Automatically exported from code.google.com/p/funnel
Other
2 stars 2 forks source link

add analogNumber getter to Pin object #33

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
This is low priority. Just notting it so I don't forget.

Original comment by jeff.ho...@gmail.com on 14 Jan 2012 at 7:32