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

regrd with more than 255 bytes #28

Closed
jamesbowman opened this issue Jan 4, 2020 · 1 comment
Closed

regrd with more than 255 bytes #28

jamesbowman opened this issue Jan 4, 2020 · 1 comment

Comments

@jamesbowman
Copy link
Owner

It is not currently possible to do a regrd() to receive more than 255 bytes.

The regrd() implementation should handle this by expanding the request to:

self.start(dev, 0)
self.write([reg])
self.start(dev, 1)
r = self.read(256)
self.stop()
@jamesbowman
Copy link
Owner Author

Fixed, closing.

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