From b6346518f9a7ffd89eafccfe4c53e6b3006e2680 Mon Sep 17 00:00:00 2001 From: Timo Denk Date: Tue, 2 Apr 2019 20:29:45 +0200 Subject: [PATCH] Correct digitalWrite call --- Valve.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Valve.h b/Valve.h index cb1409a..167fdc9 100644 --- a/Valve.h +++ b/Valve.h @@ -23,7 +23,7 @@ class Valve pinMode(motorSlowPin, OUTPUT); digitalWrite(motorBackwardPin, HIGH); digitalWrite(motorForwardPin, HIGH); - pinMode(motorSlowPin, LOW); + digitalWrite(motorSlowPin, LOW); moving = false; };