Updated PiSugar 2 (Pro) I2C Manual (markdown)

Jdaie 2020-10-10 23:31:23 +08:00
parent ad7c2c76f2
commit 034c0311ba

@ -21,7 +21,9 @@ When writing to a register, take care you convert the bit(s) to HEX.
Example, to register GPIO1 at 0x51.
GPIO1 is 01 at 3:2 bit, in a byte is 00000**01**0, becomes:
i2cset -y 1 0x75 0x51 *0x2*
```
i2cset -y 1 0x75 0x51 0x2
```
I2c tools
---------