Post topics, source code that relate to the Arduino Platform

User avatar
By Dwprice
#56606 Well as a workaround, since PWM fails every second time, i justed added code as follows for each flag state that turned off the PWM to the pump so that the next time i triggered PWM on it would work:

Turn off pwm
(Added) Turn pwm on at low level of 5
(Added) Turn off pwm again

Given these are flag states, this additional code would happen imperceptibly