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.
Photo

Trouble finding pins,gpio


  • Please log in to reply
1 reply to this topic

#1 philrem

philrem

    New Member

  • Members
  • Pip
  • 1 posts

Posted 05 March 2015 - 01:19 PM

Hi - wondering if anyone can help. I'm trying out my brand new Netduino plus 2, trying to do a 'Hello World' on an LCD Shield. All the documentation says to assign Pins.GPIO_PIN_Dx to use the GPIO output.

I cant get Visual Studio to recognise Pins. anything. I can get cpu.pins, but this creates an error.

 

I have installed NETMF 4.2 and Netduino SDK v4.2.2.  I an missing something ?



#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 12 March 2015 - 08:37 PM

Hi philrem,

Did you create a Netduino Plus 2 Application (from the project templates) to start your project?

If not, no worries. You can add the "SecretLabs.NETMF.Hardware.Netduino.dll" assembly via project references. Then just add the following line of code up top:
using SecretLabs.NETMF.Hardware.Netduino;
The Pins. enumeration is a member of this class.

Does that get you up and running?

Welcome to the Netduino community,

Chris




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

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.