see my additions to the core LFRFID app for a much nicer implementation of this concept: https://github.com/atomsmasha/flipperzero-firmware/tree/dev/applications/lfrfid
Intended to simulate a 're-settable' 26-bit (H13010) Wiegand HID
application.fam added for compatibility with new FBT for Flipper Zero firmware release 0.61.1