• Hi everyone,


    I need to connect a RFID reader, which protocol is Wiegand. I have connected two wires from reader to my input GPIO 6 and7.

    The thing is that I cannot control changes from high level to low, I suppose, due to its speed.


    I think that the best way could be defining these GPIO as IRQ. ¿Is it possible? ¿How can I do that? ¿Is there any documentation?


    Thank you very much.

  • A common way to implement this is to set a value to the edge file in the gpio entry in sysfs and then using select() or poll() to react on the signal change. I have attached a generic example with functions to configure a gpio and do the poll.


    Your F&S Support Team


    gpio-poll.c.txt

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.