Skip to content

stuarth/wiringPixie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wiringPi(xie)

Control a RaspberryPI's GPIO with Pixie

(require wiring-pixie.gpio :refer :all)

(def pin 7) ;; note the Addressing Pins section below!

(wiringPiSetup)         ;; required first!
(pinMode pin OUTPUT)    ;; pin to OUTPUT
(digitalWrite pin HIGH) ;; set pin 7 to HIGH

Installation

Add wiringPixie to your project.edn's dependencies

[stuarth/wiringPixie "0.2.0-alpha"]

Follow the instructions on wiringPi's site to install wiringPi on your Raspberry Pi.

About

wiringPixie is based on wiringPi

Addressing Pins

Pin numbers follow the convention used by wiringPi

About

Control a RaspberryPI's GPIO with Pixie

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages