Code for an automated water control system in a reservoir. Implemented with arduino.