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.

Yanoch's Content

There have been 2 items by Yanoch (Search limited from 29-March 23)


By content type

See this member's

Sort by                Order  

#52411 Serial communication problem

Posted by Yanoch on 28 August 2013 - 10:55 AM in Netduino 2 (and Netduino 1)

Try using System.Text.Encoding.ASCII instead of System.Text.Encoding.UTF8 in the neduino app and in the pc app.

 

Also, in the netduino app this:

 

byte[] b = new byte[1];

should be:

 

byte[] b = new byte[port.BytesToRead];




#52390 Lost serial characters

Posted by Yanoch on 27 August 2013 - 10:34 AM in Netduino Plus 2 (and Netduino Plus 1)

Just for testing, remove the event and try to wait for your 26 bytes in a while loop then read it...





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.