KravitzLabDevices / FED3_library

GNU General Public License v3.0
6 stars 18 forks source link

Increased time resolution. #27

Closed filcarv closed 3 years ago

filcarv commented 3 years ago

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.