monkeyboard / Wiegand-Protocol-Library-for-Arduino

Wiegand 26 and Wiegand 34 Protocol Library for Arduino
323 stars 131 forks source link

Update Wiegand.cpp #49

Closed gorkemhacioglu closed 3 years ago

gorkemhacioglu commented 4 years ago

37 Bit added.

jpliew commented 4 years ago

Hi @gorkemhacioglu ,

I think we may have a problem here. The library only returns maximum 32 bit data, W37 has a 35 bit data and might not be able to work by just adding the a condition to check for 37 bit.

I might add another function for custom decoding that decodes anything over 32 bit data.

Thanks