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://arduino.cc/en/Tutorial/AnalogInput | |
*/ | |
#define SENSOR_PIN A0 // select the input pin for the potentiometer | |
#define NUM_PINS 8 | |
#define START_PIN 1 | |
int pin_interval; |
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
// Pin Definitions | |
// The 74HC595 uses a serial communication link which has three pins | |
#define PIN_DATA 2 | |
#define PIN_CLOCK 3 | |
#define PIN_LATCH 4 | |
int data = 2; | |
int clock = 3; | |
int latch = 4; | |
void setup() { |
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
set nocompatible | |
behave xterm | |
filetype plugin indent on | |
syntax on | |
source $HOME/.vim/vimrc/filetypes.vim | |
source $HOME/.vim/vimrc/looks.vim | |
source $HOME/.vim/vimrc/mappings.vim | |
source $HOME/.vim/vimrc/misc.vim | |
source $HOME/.vim/vimrc/plugin_configs.vim |
NewerOlder