monkeyboard / Wiegand-Protocol-Library-for-Arduino

Wiegand 26 and Wiegand 34 Protocol Library for Arduino
332 stars 128 forks source link

Could you update support to 48 bits #65

Open Vlakss opened 11 months ago

Vlakss commented 11 months ago

Could you update support to 48 bits

jpliew commented 11 months ago

You can use the multibit version of this library https://github.com/jpliew/Wiegand-NG-Multi-Bit-Wiegand-Library-for-Arduino

pvtex commented 4 months ago

but an updated version would be much more easier, because the old code will work with an updated library without modification i i am need of a 58bit version to read the full 7byte ID

jpliew commented 4 months ago

@pvtex the current GetID function returns a long data type, a 58bit data will not be able to fit into a long data type. It will be much easier if you have a device that has more bit than a long to use the Multi Bit Wiegand library because it will handle unlimited bit number much better than this library.