Skip to content
This repository was archived by the owner on Sep 30, 2019. It is now read-only.

Conversation

@codesimian
Copy link

  1. Fixed bug where boolean "and" was incorrectly used instead of bitwise "&". We're testing a bit in a byte.
  2. Moved the sleep call to BEFORE the first read. Occasional errors with immediate read after write.

Regarding the issue of moving the sleep command, I can't be sure this isn't a solution to a software bug or an issue with the device. I did find evidence of people having similar trouble and one instance where someone theorized that the "write" operation sucked too much power, causing the following read operation to fail, but that might be silliness. All I can say for certain is that this appears to make the problem go away.

1. Fixed bug where boolean "and" was incorrectly used instead of bitwise "&".  We're testing a bit in a byte.
2. Moved the sleep call to BEFORE the first read.  Occasional errors with immediate read after write.
@ladyada
Copy link
Member

ladyada commented Sep 30, 2019

Thank you for the Pull Request
This library has been deprecated in favor of our python3 Blinka library. We have replaced all of the libraries that use this repo with CircuitPython libraries that are Python3 compatible, and support a wide variety of single board/linux computers!

Visit https://circuitpython.org/blinka for more information

CircuitPython has support for almost 200 different drivers, and a as well as FT232H support for Mac/Win/Linux!

@ladyada ladyada closed this Sep 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants