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

Member Since 16 Aug 2013
Offline Last Active Oct 21 2013 11:31 PM
-----

Posts I've Made

In Topic: Serial communication problem

28 August 2013 - 10:55 AM

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];


In Topic: Lost serial characters

27 August 2013 - 10:34 AM

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.