https://cdn-learn.adafruit.com/downloads/pdf/adafruit-16-channel-servo-driver-with-raspberry-pi.pdf
sudo i2cdetect -y 1
sudo apt-get install python-smbus
sudo apt-get install i2c-tools
If you have an Original Raspberry Pi (Sold before October 2012) - the I2C is port 0:
sudo i2cdetect -y 0
If you have a second rev Raspberry Pi, the I2C is on port 1:
sudo i2cdetect -y 1
This will search /dev/i2c-0 or /dev/i2c-1 for all address, and if an Adafruit PWM breakout is properly connected and it's set to it's default address -- meaning none of the 6 address solder jumpers at the top of the board have been soldered shut -- it should show up at 0x40 (binary 1000000) as follows:
sudo apt-get install git build-essential python-dev
cd ~ git clone https://github.com/adafruit/Adafruit_Python_PCA9685.git
cd Adafruit_Python_PCA9685
sudo python setup.py install
# if you have python3 installed:
sudo python3 setup.py install
sudo i2cdetect -y 1
sudo apt-get install python-smbus
sudo apt-get install i2c-tools
If you have an Original Raspberry Pi (Sold before October 2012) - the I2C is port 0:
sudo i2cdetect -y 0
If you have a second rev Raspberry Pi, the I2C is on port 1:
sudo i2cdetect -y 1
This will search /dev/i2c-0 or /dev/i2c-1 for all address, and if an Adafruit PWM breakout is properly connected and it's set to it's default address -- meaning none of the 6 address solder jumpers at the top of the board have been soldered shut -- it should show up at 0x40 (binary 1000000) as follows:
sudo apt-get install git build-essential python-dev
cd ~ git clone https://github.com/adafruit/Adafruit_Python_PCA9685.git
cd Adafruit_Python_PCA9685
sudo python setup.py install
# if you have python3 installed:
sudo python3 setup.py install
Comments
Post a Comment