From 6f68adbfe99e7573343abf02ea8bae158d7d4846 Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Sat, 31 Oct 2020 11:29:34 +0100 Subject: [PATCH] comment negative/inverted pin --- MotorDriver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MotorDriver.h b/MotorDriver.h index 2655605..abfb395 100644 --- a/MotorDriver.h +++ b/MotorDriver.h @@ -35,7 +35,7 @@ class MotorDriver { private: byte powerPin, signalPin, signalPin2, currentPin, faultPin; - int8_t brakePin; + int8_t brakePin; // negative means pin is inverted float senseFactor; unsigned int tripMilliamps; int rawCurrentTripValue;