-
Notifications
You must be signed in to change notification settings - Fork 0
RaspberryPI
Mickael Gaillard edited this page May 19, 2020
·
6 revisions
tested on RaspberryPI 1B. based on Rasbian Lite

sudo systemctl disable alsa-state.service
echo "dtoverlay=pwm" >> /boot/config.txt
ls /sys/class/pwm
ls /sys/class/pwm/pwmchip0
cat /sys/class/pwm/pwmchip0/npwm
sudo apt-get install -y python-smbus
sudo apt-get install -y i2c-tools
echo "dtparam=i2c_arm=on,i2c_arm_baudrate=400000" >> /boot/config.txt
Interfacing Options > Advanced > I2C > Enable
and reboot
sudo i2cdetect -y 1
OpenWinch project © 2020