bindings-K8055-0.1.1: Bindings to Velleman K8055 dll

Bindings.K8055.Counters

Synopsis

Documentation

data Counter Source

Constructors

Counter1 
Counter2 

resetCounter :: Counter -> IO ()Source

Resets the 16 bit pulse counter number 1 or counter number 2

readCounter :: Counter -> IO IntSource

Reads the content of the pulse counte rnumber 1 or counter number 2

setCounterDebounceTimeSource

Arguments

:: Counter 
-> Int

0 - 5000

-> IO () 

Sets the debounce time to the pulse counter