A simple example which blinks an LED attached to GPIO pin 17 on a Raspberry PI
Run lein repl
as root on your Raspberry PI (Settng up leiningen on your PI):
user=> (require '[hello-gpio.core :refer :all] :reload)
nil
user=> (def blinker (blink))
#'user/blinker
And when you're bored with blinking
user=> (stop! blinker)
Copyright © 2014 Peter Schwarz
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.