Created
May 16, 2014 00:25
-
-
Save r043v/2bddb7167a93803bb9aa 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
I2C>(1) | |
Searching I2C address space. Found devices at: | |
0xA0(0x50 W) 0xA1(0x50 R) 0xA2(0x51 W) 0xA3(0x51 R) 0xA4(0x52 W) 0xA5(0x52 R) 0xA6(0x53 W) 0xA7(0x53 R) 0xA8(0x54 W) 0xA9(0x54 R) 0xAA(0x55 W) 0xAB(0x55 R) 0xAC(0x56 W) 0xAD(0x56 R) 0xAE(0x57 W) 0xAF(0x57 R) | |
I2C>[0xa4 0 0x2a] | |
I2C START BIT | |
WRITE: 0xA4 ACK | |
WRITE: 0x00 ACK | |
WRITE: 0x2A ACK | |
I2C STOP BIT | |
I2C>[0xa4 0 [ 0xa5 r ] | |
I2C START BIT | |
WRITE: 0xA4 ACK | |
WRITE: 0x00 ACK | |
I2C START BIT | |
WRITE: 0xA5 ACK | |
READ: 0x2A | |
NACK | |
I2C STOP BIT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
// write
[ page2kW offset byte1 byte2 byte3 .. byteN ]
// read
[ page2kW offset [ page2kR r:N ]