Skip to content

gatesphere/raspi-gpio-newlisp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

raspi-gpio-newlisp

A Raspberry Pi GPIO library for newLISP

Intro

This library is pretty self explanitory, use the source, Luke!

Usage

Include the library at the top of your script with:

(load "raspi-gpio.lsp")

From there on, use it similarly to how you'd use Arduino/Wiring, with the exception that it's wrapped up inside the GPIO context:

(GPIO:enable-pin 4)
(GPIO:pin-mode 4 GPIO:out)
(GPIO:digital-write 4 GPIO:high)
(GPIO:disable-pin 4)

License

WTFPLv2, embedded in the source.

About

A Raspberry Pi GPIO library for newLISP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published