Difference between revisions of "PCA9685"

From BITPlan Wiki
Jump to navigation Jump to search
Line 2: Line 2:
 
<source lang='bash'>
 
<source lang='bash'>
 
sudo raspi-config
 
sudo raspi-config
 +
# activate Interfacing Options P5 / I2C
 
wf@picar:~/source/python/pi $ sudo i2cdetect -y 1
 
wf@picar:~/source/python/pi $ sudo i2cdetect -y 1
 
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
 
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
Line 15: Line 16:
 
sudo pip3 install adafruit-circuitpython-servokit                     
 
sudo pip3 install adafruit-circuitpython-servokit                     
 
</source>
 
</source>
 +
 
= Java =
 
= Java =
 
* http://hirt.se/blog/?p=625
 
* http://hirt.se/blog/?p=625

Revision as of 15:27, 21 January 2020

[edit]
sudo raspi-config
# activate Interfacing Options P5 / I2C
wf@picar:~/source/python/pi $ sudo i2cdetect -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: 40 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: 70 -- -- -- -- -- -- --   
sudo pip install Adafruit-PCA9685 
sudo pip3 install adafruit-circuitpython-servokit