-
Notifications
You must be signed in to change notification settings - Fork 191
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
Read/write I2C #37
Comments
Not directly, but I2C message are just sysex messages (https://github.com/firmata/protocol/blob/master/i2c.md), so you should be able to do something like:
You also want to write a method that does something with the reply. Subclass Board and add a command handler for the I2C_REPLY command:
|
Got it - thought that was the case. Thanks @tino! |
zurgeg
added a commit
to zurgeg/pyFirmata
that referenced
this issue
Mar 19, 2020
Add easier access to I2C control because I know there was tino#37 that was caused by confusion over how to use I2C on PyFirmata. This will do some simplifying by adding a send_i2c function.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there a way to read and write over I2C? I may be totally missing it.
The text was updated successfully, but these errors were encountered: