B
Benjamin Todd
Guest
in your code, the value of synch_found is never reset after it has found the
first synchronisation byte...
Ben
"Weddick" <weddick@comcast.net> wrote in message
news:I_adnfHl47DWIR_fRVn-3A@comcast.com...
first synchronisation byte...
Ben
"Weddick" <weddick@comcast.net> wrote in message
news:I_adnfHl47DWIR_fRVn-3A@comcast.com...
I have what I thought was a simple problem. I need to count the number of
clocks to determine when to take data out of the shift register. The data
is a continuous stream and I want to be able to count every 8 bits. I
thought I could use a 3 bit counter but can't seem to get the code correct.
I then went to a 4 bit counter, and while it works I am not sure if the
code is the best way. Any ideas?
Thanks,
Joel