Skip to content

akeyhero/the-light-of-errors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Light of Errors

Usage

Setup

This app requires WiringPi or one of the alternatives so that it can use the gpio shell command.

Also, it depends on RubyGems managed by Bundler. Run:

$ bundle install

The pins which the app fires are configured with pins.yml .

$ cp pins.yml{.sample,}
$ vim pins.yml

Start the app

$ ./app.rb -e production

Check

$ curl -XGET http://localhost:4567/

Fire!

$ curl -XPOST http://localhost:4567/ -d ''

Turn off

$ curl -XDELETE http://localhost:4567/

Circuit

Here is an example:

Circuit

(Drawn with Circuit Diagram)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages