Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Feb 11, 2020

Two issues needed fixed. First spidev is not buffered so we need to open
it as an unbuffered binary file. Second ctypes.string_at returns a bytes
object instead of a str in python 3.x so we don't want to convert a str
to an array of integers when returning from read and transfer, since we
already have arrays of ints.

Two issues needed fixed. First spidev is not buffered so we need to open
it as an unbuffered binary file. Second ctypes.string_at returns a bytes
object instead of a str in python 3.x so we don't want to convert a str
to an array of integers when returning from read and transfer, since we
already have arrays of ints.
@ghost
Copy link
Author

ghost commented Feb 11, 2020

Should probably bump version so PyPi and pip see this as an update. I didn't because it could be a minor or a micro depending on opinion.

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

Successfully merging this pull request may close these issues.

1 participant