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.

Dave1374

Member Since 06 May 2013
Offline Last Active Nov 04 2015 04:32 PM
-----

#63814 Netduino 3 and Electronic Brick of Relay

Posted by Dave1374 on 07 August 2015 - 02:56 PM

Cpu.Pins is a NETMF enumeration which specifies the physical pin # on the microcontroller itself.
 

 

Chris, is there a case where one would use Cpu.Pins instead of Pins.GPIO_PIN_## ?

 

Should I change my 

static AnalogInput sensor = new AnalogInput(Cpu.AnalogChannel.ANALOG_0);

for

static AnalogInput sensor = new AnalogInput(Pins.ANALOG_0);

  • JLJ likes this


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.