Wiegand output using digital write

I am trying to build a RFID reader with Wiegand output
The output is implemented by using the digitalwrite of arduino
Is it possible to comply with the Wiegand specification
i.e.
Tpw Pulse Width Time 100 µs
Tpi Pulse Interval Time 1 ms

Is there and example code available?

Yes Wiegand output is perfectly possible using digital write.
I haven't got any sample code but it is simple enough. Just use a mask of a single one, in an if statement and this with the number and depending on the result write a pulse in the one or zero output, then delay. Then shift the mask over to the left. You can do all this in a for loop, I would say five lines absolute tops.