View Single Post
  #6   Spotlight this post!  
Unread 07-12-2006, 14:17
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: 2004 Edubot Serial String Help (TTL in)

Quote:
Originally Posted by Josh Siegel
...I want to read, and ultimately parse, the data string (but don't know about C string parsing). For now, I would be happy with printing it out from the RS232 (feed in TTL and out to PC).
For fun, a few years ago I wrote some EDU-RC code to parse the GPS GGA message and write the current GPS time, which is very accurate, to a serial LCD display. To get you started, have a look at the Camera_Handler() and Camera_State_Machine() functions in camera.c for one way to parse serial data.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org