View Single Post
  #4   Spotlight this post!  
Unread 13-05-2015, 11:55
stu54 stu54 is offline
Registered User
None #2458
 
Join Date: Jul 2014
Location: US
Posts: 11
stu54 is an unknown quantity at this point
Re: RoboRio and Serial Data

I found that when I did a try/catch on my code and did the single byte unbuffered reads I was getting framing errors (even though everything is set to 9600 N 8 1) and
when I got some reads to work it did not look like the ASCII format as
documented for the MaxSonar. Maybe it is a unicode thing or maybe
the RoboRIO serial reader is not set up for asynchronous reading like would be needed
for the MaxSonar. Guess I will just have to go with analog.