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.

Woodlands-Glen

Member Since 27 Nov 2011
Offline Last Active Feb 03 2014 04:06 PM
-----

Topics I've Started

opcode Warnings

15 November 2013 - 09:43 PM

Can anyone help with these opcode warnings that I get?

 

I get an opcode 'conv.ovf.i4 for each serial.write statement.

I get an opcode 'conv.ovf.u1.un for the Next statement that is part of a For Next loop

I get an opcode 'add.ovf for the Next statement that is part of a different For Next Loop

 

The only ill side effect that I see is that the serial.write is dropping the last character in the write buffer.

 

Any help would be greatly appreciated.

 

Thanks,

Glen

 


N+ Serial.Write dropping the last byte

15 November 2013 - 09:32 PM

I have a very simple routine that gets the IP address of the Netduino Plus and prints it to the serial port.

 

LocalIP=Microsoft.SPOT.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces(0).IPAddress

buffer=System.Text.Encoding.UTF8.GetBytes(LocalIP)

Serial1.Write(buffer,0,buffer.length)

 

The IP address of the Netduino is 192.168.0.31.

 

The routine above sends 192.168.0.3 with a trailing space.

 

Running through the routine step by step shows that LocalIP is correct at 192.168.0.31, buffer is correct, is 12 characters long and ends in a decimal 49 (representing the 1) but the one is missing from the actual serial output.

 

Any ideas?

 

Glen


OneWire Support for N+

24 July 2013 - 09:44 PM

I have posted this question on other threads and I wanted to ask it here as well since I really need an answer...

 

What is the status of OneWire for the N+?  This was brought up in threads nearly a year ago with the answer being that it was coming, but in the year since, I haven't seen anything.

 

When will this be in place or will this only be implemented on the N2+?

 

Thanks,

 

Glen Swanson


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.