simonprickett / cpitrafficlights

Experiments with a Raspberry Pi, Low Voltage Labs Traffic Light LEDs and the C Programming Language.

Home Page:https://simonprickett.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make the sysfs code its own .c and .h file, update main code and Makefile

simonprickett opened this issue · comments

It would be tidier if the sysfs example has the sysfs code contained in its own .c and .h file, and if the Makefile had these as a target. Update the main code accordingly.