Netduino home hardware projects downloads community

Jump to content


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.

tomabecea

Member Since 23 Feb 2013
Offline Last Active May 01 2013 04:35 PM
-----

Topics I've Started

GPIO as analog input

27 February 2013 - 10:34 AM

Hello,   I need to use gpio pins as analog inputs as follows:   using AnalogInput_SecretLabs = SecretLabs.NETMF.Hardware.AnalogInput;   AnalogInput_SecretLabs input1 = new AnalogInput_SecretLabs(Pins.GPIO_PIN_D2);   Pins D2, D3, D7, D8, D9 should be able to be used as analog inputs but at running time a System.ArgumentException is thrown.

 

Can pins D2, D3, D7, D8, D9 used as analog inputs ? If yes, how should the code be written ?

 

Thanks,

 

tomabecea


home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.