 
 void setup() { //int yer inpins
 
-  pinMode(inPin1, INPUT); 
-  pinMode(inPin2, INPUT);
-  pinMode(inPin3, INPUT);
-  pinMode(inPin4, INPUT);
-  pinMode(inPin5, INPUT);
-  pinMode(inPin6, INPUT);
-  
-  Serial.begin(9600);
-  slcd.begin();
-  slcd.backlight();
+  pinMode(rightRed, INPUT); 
+  pinMode(leftRed, INPUT);
+  pinMode(greenMenu, INPUT);
+  pinMode(yellowEnter, INPUT);
+  pinMode(leftLimit, INPUT);
+  pinMode(rightLimit, INPUT);
+
+  pinMode(pwmPin, OUTPUT);
+  pinMode(CWpin, OUTPUT);
+  pinMode(CCWpin, OUTPUT);
+
+  lcd.begin(20,4);
+  lcd.setBacklight(HIGH);
 }
 
 void loop() { //high speed code goes here

    while( frac1 /= 10 )
      padding--;
    while(  padding--)
      slcd.print("0");
    slcd.print(frac,DEC) ;
  }
}

void rightLimitHandler() {
  // placeholder
}

void leftlimit() {
  //placeholder
}
 This removes alot of the wire clutter inside the box and makes it simpler to visualize 
 what is connected to what and what it is doing.
 */
//*********************LIBRARY IMPORTS*********************************
#include <Wire.h>
#include <LiquidTWI.h>
#include <Tap.h>

LiquidTWI lcd(0); //Initialize the lcd lib.

//**********************INPUT PINS**************************************

const int rightRed = 5; //right red button
const int leftRed = 4; //left red button
const int greenMenu = 3; //green menu button
const int yellowEnter = 8; //yellow enter button, I/O 2
const int leftLimit = 7; //left limit switch. Green/White twisted pair.
const int rightLimit = 6; //right limit switch. Blue/White twisted pair.

//***********************OUTPUT PINS************************************

const int pwmPin = 9;
const int Hallpin = 2;               // wired to Hall Effect sensor output
const int CWpin  = A1;                // wired to MD01B pin INa
const int CCWpin = A0;                // wired to MD01B pin INb

//*************************TAP lib constructors*************************
Tap green(greenMenu);
Tap right_Rb(rightRed);
Tap left_Rb(leftRed);
Tap yellow(yellowEnter);

int loopCounter = 0; //Loop counter to refresh screen.
unsigned long lcdUpdate;
