margyle / decaf

Decaf: Does Every Coffee Action, Friend
26 stars 10 forks source link

Class relayControl currently ignores repeatValue #1

Closed margyle closed 5 years ago

margyle commented 5 years ago

relayControl currently ignores the repeatValue so relay will only fire a single time per request.

margyle commented 5 years ago

Fixed. Also added repeatDelay variable. This will control how long relay is turned off before the repeat fires. New url scheme: http://192.168.1.183:5000/relayControl/23/1/3/3/1/grinder /relayControl/<pinNumber>/<relayChannel>/<timeOn>/<repeatValue>/<repeatDelay>/<connectedHardware>