more logging messages
This commit is contained in:
@@ -1214,6 +1214,8 @@ class EnclosurePlugin(octoprint.plugin.StartupPlugin,
|
||||
old_pwm_value = pwm['duty_cycle'] if 'duty_cycle' in pwm else -1
|
||||
if not self.to_int(old_pwm_value) == self.to_int(pwm_value):
|
||||
pwm['duty_cycle'] = pwm_value
|
||||
self._logger.debug("Changing duty cycle: %s", pwm_value)
|
||||
self._logger.debug("PWM Object is: %s", pwm_object)
|
||||
pwm_object.ChangeDutyCycle(pwm_value)
|
||||
self._logger.debug(
|
||||
"Writing PWM on gpio: %s value %s", gpio, pwm_value)
|
||||
|
||||
Reference in New Issue
Block a user