mirror of
https://github.com/RobotechLille/cdf2018-principal
synced 2025-09-07 18:30:24 +02:00
WIP IMU
This commit is contained in:
parent
98c2f27358
commit
678b7e939b
13 changed files with 167 additions and 49 deletions
|
@ -6,17 +6,16 @@
|
|||
start() {
|
||||
printf "Starting hardware handling: "
|
||||
modprobe pl2303 # USB↔Serial cable
|
||||
modprobe i2c-bcm2708 # I2C
|
||||
modprobe i2c-dev # I2C
|
||||
# I2C
|
||||
modprobe i2c-bcm2708 # RPi2
|
||||
modprobe i2c-bcm2835 # RPi3
|
||||
modprobe i2c-dev # Both
|
||||
/opt/chef/lcdOff.sh
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
stop() {
|
||||
printf "Stopping hardware handling: "
|
||||
rmmod i2c-dev # I2C
|
||||
rmmod i2c-bcm2708 # I2C
|
||||
rmmod pl2303 # USB↔Serial cable
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue