|
猫盘已刷群辉,其他正常,但要控制led时% k* w, q J* U4 U+ e R, S; d( k
0 }- M) {9 g- M2 T. ~0 T5 Z8 u5 K
root@DS119j:/# i2cset -y -f pxa_i2c-i2c 0x45 0x01 0x01
1 Q- K: G2 _$ i4 N' Q: |Error: I2C bus name is not unique!
k0 G, G2 k# |7 V3 mUsage: i2cset [-f] [-y] [-m MASK] [-r] I2CBUS CHIP-ADDRESS DATA-ADDRESS [VALUE] ... [MODE]7 _3 M, R$ F7 X8 t. t
I2CBUS is an integer or an I2C bus name* h/ T5 l9 o9 Z( z3 H, P
ADDRESS is an integer (0x03 - 0x77) r% C0 |# r8 i5 p) m7 W0 Z
MODE is one of:
, y) N5 W" N, ^# g0 s, Y0 C% S$ S c (byte, no value) d& B5 E, |0 @2 }9 D }; s
b (byte data, default)
1 N2 \" a4 t2 v' J+ L" |$ n w (word data)" e5 m3 \6 W7 ~
i (I2C block data)' k- q* `" G f9 ?9 k" ~4 I
s (SMBus block data)
/ \+ w4 j- Y2 ^7 t4 { Append p for SMBus PEC
9 w+ c3 G6 m4 |8 p, p( R$ f8 Q" h2 r; |! p) T1 R) v/ y2 R
; }% H/ u' M% p r$ f5 O2 k# W9 `3 \1 z* i% D
求助大神
, Y7 q4 Y, O/ i1 W7 z- ^ |
|