Skip to content

A restlike API server intended to run on the Raspberry PI and allow blinking LEDs

License

Notifications You must be signed in to change notification settings

rkamradt/RaspAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RaspAPI

A rest-like API server intended to run on the Raspberry PI and allow blinking LEDs

WIP. So far it only has two endpoints. GET /led/:id and POST /led/:id The GET verb will turn on the led at pin id, and the post will turn it off. Note that the id is the PIN NUMBER and not the actual gpio number.

Thanks to https://github.com/JamesBarwell/rpi-gpio.js for the gpio access code!

Note: must be run as root to access the gpio.

About

A restlike API server intended to run on the Raspberry PI and allow blinking LEDs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published