Example showing how to use the Low Voltage Labs Traffic Lights with the sysfs method of accessing the GPIO pins.
Attach the traffic lights so that they are connected to GPIO 9, 10, 11.
$ git clone https://github.com/simonprickett/cpitrafficlights.git
$ cd cpitrafficlights/sysfs
$ make
$ ./trafficlights