This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://gembundler.com/deploying.html | |
require 'bundler/capistrano' | |
# http://guides.rubyonrails.org/asset_pipeline.html | |
load 'deploy/assets' | |
# http://beginrescueend.com/integration/capistrano/ | |
# Also add rvm-capistrano to your Gemfile | |
require "rvm/capistrano" # Load RVM's capistrano plugin. | |
set :rvm_type, :system # Copy the exact line. I really mean :system here |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// LPD8806 LED Code for our Yacht Club's Anchor | |
/*************************************************************************************/ | |
#include "LPD8806.h" // Library Here: https://github.com/adafruit/LPD8806 | |
#include "SPI.h" | |
int totalLEDs = 14; | |
int dataPin = 2; | |
int clockPin = 3; | |
LPD8806 strip = LPD8806(totalLEDs, dataPin, clockPin); |