Last active
January 30, 2020 23:48
-
-
Save siddacious/a34ea6788f6ed579d31c647684e91c42 to your computer and use it in GitHub Desktop.
This file contains 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
2-3 types of common statements: | |
From CP/Debug_I2C: | |
i2c.writeto_then_readfrom.buffer_out at address 0x77: ['0xd'] | |
i2c.writeto_then_readfrom.buffer_in at address 0x77: ['0x10'] | |
i2c.writeto at address 0x77: ['0xc', '0x89'] | |
From Arduino/BusIO: | |
I2CDevice Wrote: 0xD, | |
I2CDevice Read: 0x10, | |
I2CDevice Wrote: 0xC, 0x89, | |
Proposed update (to both): | |
WRITE @ 0x77 :: 0xD, | |
READ @ 0x77 :: 0x10, | |
WRITE @ 0x77 :: 0xc, 0x89, | |
Revised proposal: | |
I2CWRITE @ 0x77 :: 0x0D, | |
I2CREAD @ 0x77 :: 0x10, | |
I2CWRITE @ 0x77 :: 0x0C, 0x89, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment