first commit
This commit is contained in:
commit
a5a0434432
1126 changed files with 439481 additions and 0 deletions
17
Troubleshooting/i2c_test1.sh
Executable file
17
Troubleshooting/i2c_test1.sh
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
#! /bin/bash
|
||||
echo ""
|
||||
echo Checking I2C bus for devices
|
||||
echo ============================
|
||||
echo ""
|
||||
|
||||
# insert a wait here to make sure the ATMEGA is reset and ready
|
||||
sleep 1
|
||||
echo Checking I2C bus 0
|
||||
echo ==================
|
||||
echo NOTE: it is normal for this one to fail
|
||||
i2cdetect -y 0
|
||||
|
||||
echo ""
|
||||
echo Checking I2C bus 1
|
||||
echo ==================
|
||||
i2cdetect -y 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue