The Netduino forums have been replaced by new forums at community.wildernesslabs.co.
This site has been preserved for archival purposes only
and the ability to make new accounts or posts has been turned off.
randoom's Content
There have been 3 items by randoom
(Search limited from 17-June 23)
IMO the best solution is to make a wrapper for AnalogIo and use conditional compilation inside it.
Dynamically using the appropriate class depending on the hardware could be done by reflection but would have some significant impact on performance