
Originally Posted by
titanvision
Thanks you all, is there a codes samples can be offered? . . .
Joe
Joe,
You are asking too much.
Start small.
Think about how this could be solved.
Steve's approach is something you could start with.
Let's assume the "unknown" device sends out a (more or less) continous datastream
at unknown Baudrate, Parity etc. and there is now way to influence that Datastream.
So there will be no $55 or $AA Pattern you could sync to.
It will be a challenge to detect the comms parameters.
Even worse if the "unknown" device sends out data on request only.
Again,
start small, let your PC transmit data and try to detect it on your PIC.
(and you'll soon see what I mean)
regards
Ralph
_______________________________________________
There are only 10 types of people:
Those who understand binary, and those who don't ...
_______________________________________________
Bookmarks