Created a new function (RotateDisk) to rotate the wheel that returns logic 1 if found a pellet.
The function dispenseTimer now has an input with the time that needs to be consumed.
Changed clearance jams functions to use the RotateDisk.
All these functions have debounce to filter any small glitch in the pellet detection.
Function ReadBNC has an input to disable the green color indication and also has a debounce.
Created a new function (RotateDisk) to rotate the wheel that returns logic 1 if found a pellet. The function dispenseTimer now has an input with the time that needs to be consumed. Changed clearance jams functions to use the RotateDisk. All these functions have debounce to filter any small glitch in the pellet detection. Function ReadBNC has an input to disable the green color indication and also has a debounce.