Netduino home hardware projects downloads community

Jump to content

The Netduino forums have been replaced by new forums at This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.


Member Since 02 Dec 2012
Offline Last Active Aug 23 2014 12:18 AM

Topics I've Started

Error: No response from device

25 July 2014 - 01:00 AM

Today I was trying to Deploy new program to my Netduino, I was not able to do and now when I use MDDeploy too I get Error: No response from device .


Should I consider Device is dead ? I am sure I kept the device in working condition yesterday and now it is not working. All I did today was plug in to USB and try to load a new program PWM. 


Any pointer to see if my device is really dead  

Reading Multi Byte from Serial Port

20 July 2014 - 11:20 PM

 I am trying to read a value from COM1 using DataReceived Event. But with below sample I was able to ready only Single Byte ,  What I wanted to do is to read String . Say "On" "Off" I do I do it ?
public class Program
        static SerialPort port;
        public static void Main()
            port = new SerialPort("COM1", 9600, Parity.None, 8, StopBits.One );
            port.DataReceived += new SerialDataReceivedEventHandler(port_DataReceived); 


        static void port_DataReceived(object sender, SerialDataReceivedEventArgs e)
            byte[] byte1 = new byte[1];
            port.Read(byte1, 0, byte1.Length);
char[] c = System.Text.Encoding.UTF8.GetChars(byte1);

            String a = new String(c);
            if (a == "n")
              //on led
            else if (a == "f")
               //off led
} }

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.