Use a general purpose input/output interface on Linux computers and laptops.
The general purpose input/output interface is not just for small-board computers anymore: You can use GPIO on your Linux desktop or laptop, too, through the USB port.
Source: Linux Magazine Full Feed