Created
May 27, 2018 15:01
-
-
Save boochow/106fb1132f3f4ac66240fefa7529ffcb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def write_data(self, buf): | |
self.i2c.writeto(self.addr, bytearray([0x40]), False) | |
self.i2c.writeto(self.addr, buf) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment