Reading digital inputs with the wiring-x86 library