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];
![]() |
  | |||||||||||||
![]() |
|
![]() |
||||||||||||
Yanoch's ContentThere have been 2 items by Yanoch (Search limited from 30-June 24) | ||||||||||||||
![]() |
||||||||||||||
![]() |
|
![]() |
||||||||||||
![]() |
This webpage is licensed under a Creative Commons Attribution-ShareAlike License. | ![]() |
||||||||||||
![]() |