Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 398 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 398 Bytes

inondation

sudo raspi-config to access the configuration menu. select “Advanced Settings” and select “I2C Enable/Disable automatic loading” to enable I2C

INSTALL I2C-TOOLS AND SMBUS sudo apt-get install i2c-tools python-smbus python3-smbus

i2cdetect -y 1 change address in the I2C lib file

add to crontab every 15 min crontab -e */15 * * * * python3 /home/pi/inondation/inondation.py