Closed MetriciRO closed 1 year ago
Hello, @MetriciRO
Keypads are usually sent in 4 or 8 bit messages, and from the code you sent it looks like you are ignoring anything but 26 bits.
Hello, @MetriciRO
Keypads are usually sent in 4 or 8 bit messages, and from the code you sent it looks like you are ignoring anything but 26 bits.
You are right. I've made it work. Thank you.
I am working with the Interrupt example on an ESP32 and I have no idea how to make a Wiegand Keypad work.
If I set
wiegand.begin(26, true);
and press on the keypad I get theCard read error: Message size unexpected - Raw data: 8bits
error and the 8bit raw data of each key, which I guess is HEX:If I set
wiegand.begin(Wiegand::LENGTH_ANY, true);
and press on the keypad I get nothing. No reads, no messages, no errors.