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.

History

New update bits function default tip

2019-05-16, by goymame [Thu, 16 May 2019 22:12:19 +0000] rev 3

New update bits function


New attach callback function

2019-05-08, by goymame [Wed, 08 May 2019 18:08:18 +0000] rev 2

New attach callback function


first commit

2019-04-27, by goymame [Sat, 27 Apr 2019 23:53:14 +0000] rev 1

first commit


first commit

2019-04-27, by goymame [Sat, 27 Apr 2019 23:37:01 +0000] rev 0

first commit