     OCR0B = out;
   }
   // PB0 (LED)
-  OCR0A = out - MIN_PWM;
+  OCR0A = out;
 }

const byte LED_SPEED = 0;

// convert max % to max pwm
const byte MIN_PWM = 20;
const byte MAX_PWM = 170;

const byte SAMPLE_COUNT = 10;


  }
  in = in / SAMPLE_COUNT;
  // convert to a pwm value
  out = map(in, 0, 1023, MIN_PWM - 1, MAX_PWM);

  // reverse out -- pot hooked up backwards
  //out = ( 255 - out );

  // turn on/off motor if above/below min
  if ( out <= MIN_PWM )
  {
    digitalWrite(MOTOR_START, LOW);
    
  }
  else
  {
