Yup. It expects the string to be checksummmed to arrive whole, and
then deals however many bytes are in that serial signal.
Having the string arrive in pieces would require extra logic, but
should be do-able.
Basic idea is: SIO and INIT break the string into analog bytes, TOGGLE
and ABUFs sort them into even and odd, ATOD decomposes the bytes, XORs
do the deed, DFFs keeps the running total, DTOA, ATOS, blah blah blah.
toggle quoted message
Show quoted text
On Sat, 21 Apr 2012 08:03:57 -0000, "Chip" <cfm@...> wrote:
Did that account for messages of varying lengths?
- Chip
--- In Crestron@..., Kool-Aid Drinker <crug@...> wrote:
Only took 51 symbols for a basic version of the checksum that started
the thread.