Skip to content

peterschwarz/hello-gpio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hello-gpio

A simple example which blinks an LED attached to GPIO pin 17 on a Raspberry PI

Usage

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)

License

Copyright © 2014 Peter Schwarz

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

About

Blink an LED - the hello world of embedded electronics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published