Skip to content

Instantly share code, notes, and snippets.

View sycko's full-sized avatar

Liam Sykes sycko

  • New York, NY
View GitHub Profile
@sycko
sycko / Arduino Midi Keyboard
Last active August 14, 2017 20:18
Arduino Midi Keyboard
#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
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'