Okay Replaced the Firmware as per the http://forums.netdui...-v422-update-2/ Now I am able to Ping the device and run the LED Program
- Netduino Forums
- → Senthil's Content
Senthil's Content
There have been 3 items by Senthil (Search limited from 27-April 23)
#59378 Error: No response from device
Posted by Senthil on 25 July 2014 - 03:47 AM in Netduino Plus 2 (and Netduino Plus 1)
#59376 Error: No response from device
Posted by Senthil on 25 July 2014 - 01:00 AM in Netduino Plus 2 (and Netduino Plus 1)
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
#59321 Reading Multi Byte from Serial Port
Posted by Senthil on 20 July 2014 - 11:20 PM in Netduino Plus 2 (and Netduino Plus 1)
public class Program { static SerialPort port; public static void Main() { port = new SerialPort("COM1", 9600, Parity.None, 8, StopBits.One ); port.Open(); port.DataReceived += new SerialDataReceivedEventHandler(port_DataReceived); Thread.Sleep(Timeout.Infinite); } 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 } } }
- Netduino Forums
- → Senthil's Content
- Privacy Policy