Skip to content

Commit

Permalink
Add PID debugging line (#671)
Browse files Browse the repository at this point in the history
Former-commit-id: 737c16f
  • Loading branch information
kizniche committed Aug 12, 2019
1 parent 2890c89 commit bf5a379
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mycodo/controller_pid.py
Original file line number Diff line number Diff line change
Expand Up @@ -854,6 +854,7 @@ def manipulate_output(self):
duty_cycle=0)

else:
self.logger.debug("Last measurement unsuccessful. Turning outputs off.")
if self.direction in ['raise', 'both'] and self.raise_output_id:
self.control.output_off(self.raise_output_id)
if self.direction in ['lower', 'both'] and self.lower_output_id:
Expand Down

0 comments on commit bf5a379

Please sign in to comment.