Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with syncing 3 receiving bytes #124

Closed
oskwin opened this issue Mar 31, 2022 · 1 comment
Closed

Problem with syncing 3 receiving bytes #124

oskwin opened this issue Mar 31, 2022 · 1 comment

Comments

@oskwin
Copy link

oskwin commented Mar 31, 2022

Hi, great job!

I am however experiencing a problem when reading my bytes with the help of this package. I do not manage to sync the bytes so that my string always starts with 0xff. As seen in the attached picture i've tried to solve this with a simple for loop with two temporary buffers that acts as some sort of garbage bin and then start with the "real" buffer. Hope someone can give some insight on this! :)

image

@oskwin
Copy link
Author

oskwin commented Apr 11, 2022

Turns out my issue was caused by delay timers when comparing my go-code with how my board was programmed!

@oskwin oskwin closed this as completed Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant