Skip to content

Commit b522b26

Browse files
committed
fix: reset command
1 parent e2a14db commit b522b26

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

home_debix/ase/bin/rover-reset

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,10 @@ i2c_write() {
1616
i2cset -y $I2C_BUS $PCA9685_ADDR $register $value
1717
}
1818

19-
echo "Sending sleep command"
20-
i2c_write 0x00 0x10
19+
echo "Sending software reset command"
20+
i2c_write 0x00 0x06
2121

2222
sleep .3
2323

24-
echo "Sending wake command"
25-
i2c_write 0x00 0x20
26-
2724

2825
beep success || /home/debix/ase/bin/beep success

0 commit comments

Comments
 (0)