Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
This is an example application of Dino with Rails and Pusher
Ruby
branch: master

Merge pull request #2 from lucasdavila/master

Updated dino, fixed some errors and added a readme file with instructions :D
latest commit 8d0e64ace6
@austinbv authored

README.md

Rails app example with dino and pusher.

initial setup

  • clone this repo
  • cp config/pusher.sample.yml config/pusher.yml
  • put your credentials on config/pusher.yml
  • bundle install

first example

On server-side the app will send a signal to pusher every time you press the button down and another when you release the button, on client-side the app will subscribe to a pusher channel and will change the background color every time a new event is received from pusher.

second example

On client-side the app will make ajax requests every time you click the on or off, on the server-side the app will set up a led and will turn it on or off depending which button you had clicked.

  • Connect a led on GND and 12 pins.
  • click the on and the off buttons on the app page.
  • have fun!
Something went wrong with that request. Please try again.