1
0
Fork 0
mirror of https://github.com/RobotechLille/cdf2018-principal synced 2025-10-03 16:50:15 +02:00

Added I2C (SRF05 & LCD)

This commit is contained in:
Geoffrey Frogeye 2018-04-29 21:57:29 +02:00
parent 832306706d
commit 0eb11d9fc6
12 changed files with 326 additions and 8 deletions

View file

@ -5,13 +5,17 @@
start() {
printf "Starting hardware handling: "
modprobe pl2303 # USB↔Serial cable
modprobe pl2303 # USB↔Serial cable
modprobe i2c-bcm2708 # I2C
modprobe i2c-dev # I2C
echo "OK"
}
stop() {
printf "Stopping hardware handling: "
rmmod pl2303 # USB↔Serial cable
rmmod i2c-dev # I2C
rmmod i2c-bcm2708 # I2C
rmmod pl2303 # USB↔Serial cable
echo "OK"
}