Skip to content

Instantly share code, notes, and snippets.

@kristopherjohnson
Last active January 23, 2016 10:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kristopherjohnson/1f3c0e70899766447dd0 to your computer and use it in GitHub Desktop.
Save kristopherjohnson/1f3c0e70899766447dd0 to your computer and use it in GitHub Desktop.
Raspberry Pi/WiringPi simple example
LDLIBS=-lwiringPi
blink: blink.c
run: blink
sudo ./blink
.PHONY: run
clean:
$(RM) blink
.PHONY: clean
@kristopherjohnson
Copy link
Author

A GForth port of this example is available here: https://gist.github.com/kristopherjohnson/e7d3f7547eb5e1c65aff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment