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.

DuinoDan

Member Since 24 Oct 2013
Offline Last Active Oct 26 2013 11:07 PM
-----

Topics I've Started

Getting Started with Netduino

24 October 2013 - 08:09 PM

Hmm post didn't go through.  Luckily I coppied and pasted before post.

 

I recently bought a Netduino Go along with the book Getting Started with Netduino.  I've been struggling with the first few projects.

 

In the first progam to get the onboard LED to flash I had to change

 

OutputPort led = new OutputPort(Pins.ONBOARD_LED, false)

to

OutputPort led = new OutputPort(Pins.PowerLed, false)

 

Now I'm stuck on the second project trying to get onboard button to work.  Do I need to change

 

InputPort button = new InputPort(Pins.ONBOARD_SW1, false, Port.ResistorMode.Disabled

 

to something else?  Don't have my laptop infront of me but I tried Pins.ONBOARD_BTN and a few others but the button.Read() always returns false.

 

I'm hoping after I get past the onboard stuff that I won't run into any more issues but are there any other differences between the Netduino code in that book that I should be aware of when using Netduino GO?


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.