I have an application where I need to read an incoming 19.2kbaud binary datastream on an rs232 port. This data will be added to an existing ascii serial stream being sent out the port.
The issue is to read the data looking for a header, grab a section, then convert to ascii and combine with an existing data output. Can someone give any hints or a basic approach to converting the data? Any existing functions in the language that will help with this? The pic is a 16f877 and is doesn't have endless amounts of memory available.
Thanks.
rwyoung
Joined: 12 Nov 2003 Posts: 563 Location: Lawrence, KS USA
Posted: Mon May 02, 2005 12:45 pm
This just screams "state machine" and "look-up table" to me. _________________ Rob Young
The Screw-Up Fairy may just visit you but he has crashed on my couch for the last month!
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum