From 3901ce4e20357dfe9474901a22e375d51e2c46c2 Mon Sep 17 00:00:00 2001 From: GreenWizard Date: Sat, 13 Jan 2024 11:23:30 +0100 Subject: [PATCH] note --- controller/tea_poor/lib/Arduino/WaterPumpController.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/controller/tea_poor/lib/Arduino/WaterPumpController.cpp b/controller/tea_poor/lib/Arduino/WaterPumpController.cpp index 25768ec..6aef2a0 100644 --- a/controller/tea_poor/lib/Arduino/WaterPumpController.cpp +++ b/controller/tea_poor/lib/Arduino/WaterPumpController.cpp @@ -12,7 +12,9 @@ WaterPumpController::WaterPumpController(int directionPin, int brakePin, int pow WaterPumpController::~WaterPumpController() {} void WaterPumpController::setup() { - pinMode(_directionPin, OUTPUT); + // NOTE: we use one-directional motor, so we can't use direction pin + // but I keep it here for future reference + // pinMode(_directionPin, OUTPUT); pinMode(_brakePin, OUTPUT); pinMode(_powerPin, OUTPUT); stop();