mirror of
https://github.com/PiSugar/PiSugar.git
synced 2026-11-25 01:16:24 -05:00
Updated PiSugar 2 (Pro) I2C Manual (markdown)
parent
ad7c2c76f2
commit
034c0311ba
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
---------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue