From f6798645c129e76f01adab89c3969eb3918b01e8 Mon Sep 17 00:00:00 2001 From: nickb512 Date: Sat, 4 Jul 2020 16:10:27 +0100 Subject: [PATCH] Added setPulseWidth Allows pulse width to be set inside sketch (eg after loading from eeprom) --- AutoPID.h | 1 + 1 file changed, 1 insertion(+) diff --git a/AutoPID.h b/AutoPID.h index efe85f2..d9bb92a 100644 --- a/AutoPID.h +++ b/AutoPID.h @@ -53,6 +53,7 @@ class AutoPIDRelay : public AutoPID { void run(); + double setPulseWidth(double newPulseWidth) { this->_pulseWidth = newPulseWidth; }; double getPulseValue(); private: