Raspberry Pi Cube
From ProjectPages
Contents
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
- How to flash Raspberry Pi OS onto the Compute Module 4 eMMC with usbboot
- Packaging Python Projects
- Raspberry Pi PWM Generation using Python and C
- Add GUIs to your programs and scripts easily with PySimpleGUI
- How to directly get CPU temp in Python?
- ELEMENT AND FUNCTION CALL REFERENCE
- Compute Module 4 IO Board Datasheet
I2C
- CM4 fan controller lm-sensor
- Configuring I2C
- EMC2301/2/3/5 Datasheet
- Programming I²C with Python
- NXP RTC PCF85063 Datasheet
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