  * For now, this is mostly test code. Follows similar structure to the
  * Super Dooper Looper 
  */
-
+#include "TimerOne.h"
 
 #define BSPD_ERR_LED  33
 #define BSPD_IN 23
+#define ACCEL_IN 32
 
 // Super loop variable to track which interrupts have occurred
-uint8_t globalInterruptTracker = 0; 
+uint8_t glblIntTrack = 0; 
 
 
 int main(void)

     * All interrupts must be disabled while copying the global interrupt tracker to 
     * the local variable. After interrupts are re-enabled, any interrupts that occur
     * while this loop is executing will be handled on the next iteration of the loop
     */
    noInterrupts(); // disables all interrupts
    
    localInterruptTracker = globalInterruptTracker;
    globalInterruptTracker = 0;
    
    interrupts();   // re-enables interrupts

    
    // Check for BSPD Error
    if(bitRead(localInterruptTracker, 0))
    {
      digitalWrite(BSPD_ERR_LED, HIGH);
      bitWrite(localInterruptTracker, 0, 0);    // Resets the "interrupt flag" for BSPD Error
    }
    
  }
}

void BSPD_Fault()
{
  /*
   * updates bit 0 of the globalInterruptTracker to indicate that a BSPD 
   * error has occurred
   */
  
  bitWrite(globalInterruptTracker, 0, 1); // Sets "interrupt flag" for BSPD error

  return;
}

  // Setup code. Initializes I/O pins and enables interrupts
  pinMode(BSPD_ERR_LED, OUTPUT);  // Sets pin 33 as an output
  pinMode(BSPD_IN, INPUT);  // Sets pin 23 as input
  attachInterrupt(digitalPinToInterrupt(BSPD_IN), ISR_BSPD_Fault, RISING);
  int lclIntTrack;

  // Following is test code for Accelerator pedal position sensing
  Timer1.initialize(10000);  // Sets a 10ms period for the timer
  Timer1.attachInterrupt(ISR_ADC_TIMER);
  int adcValue;
  
  Serial.begin(9600); // Starts 9600 baud serial connection for ADC reading
  delay(500);
  
  // Super dooper looper
  while(1)
