Raspberry Pi - Automation and Scheduling
Identify the error in this Raspberry Pi watering system code snippet:
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
GPIO.setup(17, GPIO.OUT)
soil_moisture = 500
if soil_moisture > 400
GPIO.output(17, GPIO.LOW)
print("Pump OFF")