This library reads Wiegand, saving it into a buffer, calling a callback function after it is full or a timeout is reached.
Dependents: mbed-os-wiegand-example
This library reads Wiegand, saving it into a buffer, calling a callback function after it is full or a timeout is reached. Data can be extracted as :
- Raw
- Base 10 Integer
- Base 10 String
- Base 16 String
Always call reset after saving Wiegand data.
It automatically calibrates the timeout during the first reading unless specified.
Timeout can be set using setTimout, units are in milliseconds (first call stopCalibrating()).
EventQueue is required for deferring from ISR, it is possible to dispatch the EventQueue from the mainQueue or any other thread.