Skip to content

Commit 3901ce4

Browse files
note
1 parent a7164fe commit 3901ce4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

controller/tea_poor/lib/Arduino/WaterPumpController.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ WaterPumpController::WaterPumpController(int directionPin, int brakePin, int pow
1212
WaterPumpController::~WaterPumpController() {}
1313

1414
void WaterPumpController::setup() {
15-
pinMode(_directionPin, OUTPUT);
15+
// NOTE: we use one-directional motor, so we can't use direction pin
16+
// but I keep it here for future reference
17+
// pinMode(_directionPin, OUTPUT);
1618
pinMode(_brakePin, OUTPUT);
1719
pinMode(_powerPin, OUTPUT);
1820
stop();

0 commit comments

Comments
 (0)