We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
thank you for this great package!
I wanted to understand your code and manipulated some lines in CRC.py.
But with your example Python script, nothing printed and I didn't get a Python error. After a while, I realized that:
CRC_ERROR = 0
So I think in the example script it should be:
if link.status <= 0:
while not link.available(): if link.status <= 0: if link.status == txfer.CRC_ERROR: print('ERROR: CRC_ERROR') elif link.status == txfer.PAYLOAD_ERROR: print('ERROR: PAYLOAD_ERROR') elif link.status == txfer.STOP_BYTE_ERROR: print('ERROR: STOP_BYTE_ERROR') else: print('ERROR: {}'.format(link.status))
Kind regards, 8sawte8
The text was updated successfully, but these errors were encountered:
That's correct, I'll fix at some point. Thanks!
Sorry, something went wrong.
Fix examples for issue #63
7406763
PowerBroker2
No branches or pull requests
Hello,
thank you for this great package!
I wanted to understand your code and manipulated some lines in CRC.py.
But with your example Python script, nothing printed and I didn't get a Python error. After a while, I realized that:
CRC_ERROR = 0
So I think in the example script it should be:
if link.status <= 0:
Kind regards,
8sawte8
The text was updated successfully, but these errors were encountered: