for (uint8_t i = 0; i < sizeof(ftmlen); i++){
calcWiegand( ftmlen[i], fc, cardnum, bs);
blocks[0] = bytebits_to_byte(bs,32);
blocks[1] = bytebits_to_byte(bs+32,32);
for (uint8_t i = 0; i < sizeof(ftmlen); i++){
calcWiegand( ftmlen[i], fc, cardnum, bs);
blocks[0] = bytebits_to_byte(bs,32);
blocks[1] = bytebits_to_byte(bs+32,32);