Skip to content

NodeJS API to control the GPIO of Beaglebone Black

Notifications You must be signed in to change notification settings

mavamo135/gpio_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Turn off a LED

curl -v "beaglebone.local:3001/USR0?state=0"
curl -v "beaglebone.local:3001/USR1?state=0"

Turn on a LED

curl -v "beaglebone.local:3001/USR0?state=1"
curl -v "beaglebone.local:3001/USR1?state=1"

Toggle a LED

LED USR2 is configured so that every request toggles it's value.

curl -v "beaglebone.local:3001/USR2"

About

NodeJS API to control the GPIO of Beaglebone Black

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published