Skip to content

Commit

Permalink
note
Browse files Browse the repository at this point in the history
  • Loading branch information
GreenWizard2015 committed Jan 13, 2024
1 parent a7164fe commit 3901ce4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion controller/tea_poor/lib/Arduino/WaterPumpController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 3901ce4

Please sign in to comment.