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

Help! New Netduino Problem


  • Please log in to reply
3 replies to this topic

#1 Wayneio

Wayneio

    Member

  • Members
  • PipPip
  • 24 posts

Posted 18 April 2013 - 08:11 PM

Hi,

 

I just purchased a netduino plus 2 and have tried to set it up following this guide http://netduino.com/...tingstarted.pdf

 

the netduino sdk intalls fine, but when i try to install .net micro framework it says I require visual c#2010 to be installed. I already have visual studio 2012?

 

 



#2 Wayneio

Wayneio

    Member

  • Members
  • PipPip
  • 24 posts

Posted 18 April 2013 - 08:24 PM

I solved this first by installing .net MF 4.3 RTM

 

http://netmf.codeple...ases/view/81000

 

But then had to move MicroFramework folder from

 

C:UsersWayneioDocumentsVisual Studio 2010TemplatesProjectTemplatesVisual C#Micro Framework

 

to

 

C:UsersWayneioDocumentsVisual Studio 2012TemplatesProjectTemplatesVisual C#Micro Framework

 

However, now it's not working at all. I have changed transport level to USB and tried the following code:

 

        public static void Main()        {            // write your code here            OutputPort led = new OutputPort(Pins.ONBOARD_LED, false);            while (true)            {                led.Write(true); // turn on the LED                Thread.Sleep(250); // sleep for 250ms                led.Write(false); // turn off the LED                Thread.Sleep(520); // sleep for 250ms            }        }

It does nothing. No flashing LED. just solid on. Is it bricked from the factory?

 

In VS I get "The debugging target is not in an initialized state; rebooting..." - then it reboots and just says Ready



#3 sebswed

sebswed

    Advanced Member

  • Members
  • PipPipPip
  • 45 posts
  • LocationSweden

Posted 19 April 2013 - 04:19 AM

Hello Wayneio.

 

Maybe 250 mili second is just a little flash, to short to see?

If you change boths Thread.Sleep to Thread.Sleep(2000); (2 seconds on 2 seconds off)

 

Does it work than?


Netduino Plus 2 (v4.2.2.2)


#4 hanzibal

hanzibal

    Advanced Member

  • Members
  • PipPipPip
  • 1287 posts
  • LocationSweden

Posted 19 April 2013 - 08:14 PM

250 ms is a quarter of a second and so the blinking should be obvious to the eye so I don't think thats it at all.




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.