Hi Treitmey,

Glad I could help.

The XOR method works great for a master-slave system (don't say that in L.A. though).

However, if you're working with micros in various locations that send data randomly without a master to control them, you will need to use a more complex scheme.

Also, with the method I showed you, there is the small chance that you could miss an error. If electrical noise knocked a bit high on one character and then somewhere down the line knocked that same bit high on a different character, it could slip past this method. Fortunately, the chances of a coincidence like that are remote.

I'm currently working on a slight variation of the XOR method that can be used with the XOR method. It will not allow what I described above to occurr.

I'll keep you posted.

It would be nice to get some input from the list on the XOR method. I know that losts of people use it. I think it's also called a "rolling checksum". I may be wrong though.

picnaut