Raspberry Pi Cube

From ProjectPages
Jump to: navigation, search

Python

cd ~
wget -r -A py,json https://www.all4pi.com/cube/ -P /home/pi/cube -nd
cd cube
sudo chmod 744 *.*
./fan.py

Links

I2C

I2C setup

  • Enable I2C and VNC in Raspi-Config --> Interface Options
  • Enable boot to desktop --> System Options --> Boot / Auto Login
  • Set display resolution -->Display Options --> Resolution


  • Edit config.txt
sudo nano /boot/config.txt
  • add line
dtparam=i2c_vc=on
  • See connected I2C devices
sudo i2cdetect -y 10