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.

herbsti72

Member Since 02 Jan 2015
Offline Last Active Sep 06 2015 12:28 PM
-----

#61776 Preferred way to get IP from DHCP...

Posted by herbsti72 on 04 March 2015 - 01:24 PM

HI Terrence,

 

you need to reference "Microsoft.SPOT.Net" Assembly, afterwards try following code to get IP with DHCP:

var interf = NetworkInterface.GetAllNetworkInterfaces()[0];
//Get Dynamic IP
interf.EnableDhcp();
interf.RenewDhcpLease();

For more information take a look on this project:

http://neonmikawebserver.codeplex.com/

 

It contains also other usefully network related code and how to setup simple webserver on N2+




#61627 OneWire with VS2013 and latest MicroFramework and Firmware 4.3.1

Posted by herbsti72 on 16 February 2015 - 08:36 AM

HI Richard,

 

be sure to add reference to assembly "Microsoft.SPOT.Hardware.OneWire":

 

br,

Johannes

 

Attached Files




#61520 Help me out with SPI Please.

Posted by herbsti72 on 04 February 2015 - 10:34 PM

At first I would upgrade to 4.3.1 so maybe there is a fix for SPI in newer version of MF.

Or is there some reason why you stuck on 4.2?

 

Second - on your pictures I cannot identify your wiring ;)

 

I have attached my wiring so you could compare it to yours... hope it helps :-)

Attached Files




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.