You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
225 B
Bash
12 lines
225 B
Bash
10 years ago
|
#!/bin/sh
|
||
|
|
||
|
i2cset -y -m 0x77 2 0x6b 0x04 0x50;
|
||
|
i2cset -y -m 0xff 2 0x6b 0x02 0x8c;
|
||
|
i2cset -y -m 0xff 2 0x6b 0x01 0xc8;
|
||
|
i2cset -y -m 0xc0 2 0x6b 0x00 0x00;
|
||
|
|
||
|
while true ; do
|
||
|
i2cset -y -m 0x80 2 0x6b 0x00 0x80;
|
||
|
sleep 28;
|
||
|
done
|