This file contains 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
#include <Wire.h> //include the library called Wire.h | |
#include <Adafruit_Trellis.h> //include the library called Adafruit_Trellis.h | |
#define LED 13 //define LED as a constant interval at 13 | |
Adafruit_Trellis trellis; //create an instance of Adafruit_Trellis and call it trellis | |
const int CHANNEL = 1; //the interval CHANNEL will always equal 1 | |
unsigned long prevReadTime = 0L; //create an unsigned long called prevReadTime |
This file contains 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
Rails.application.routes.draw do | |
get 'sessions/new' | |
get 'users/new' | |
root 'static_pages#home' | |
get '/home', to: 'static_pages#home' | |
get '/help', to: 'static_pages#help' | |
get '/about', to: 'static_pages#about' | |
get '/contact', to: 'static_pages#contact' |