 */
 
 #include <LiquidCrystal.h>               // include the library code for display
+                                         // because it's a file inside of the Arduino.app 's library folder, use <> DIRECTIVE
+#include "LEDButton.h"                   // include custom library local to the .ino--within the same sketch folder
+                                         // because it's a relative path in the same directory, use "" LITERAL PATHNAME
 
 //---GLOBAL VARIABLES--//
-//*** these variables MUST be global because they're being used by multiple totally separate functions--static local won't do
+//:: ***these variables MUST be global because they're being used by multiple totally separate functions--static local won't do
 LiquidCrystal lcd = LiquidCrystal(12, 11, 5, 4, 3, 6);   // initialize the library with the numbers of the interface pins
 
 // White Pushbutton

        lcd.setCursor(11, 2);
        lcd.print(motorSpeed);
        lcd.print(F("  "));
        
        spinningStartTime = millis();
        
        mode = Mode::SPINNING;
      }
      break;
    }
  
    
    case Mode::SPINNING:
    {
      unsigned long secondsLeft = (countdown - (millis() - spinningStartTime))/1000;  //*** save RAM AND flash memory by only doing this calculation once per case in loop()
      analogWrite(MOTOR_PIN, motorSpeed);
      
      lcd.setCursor(0, 1);
      lcd.print(F("Finished in: "));
      lcdPrintFormattedSecs(secondsLeft);
      lcd.print(F("  "));
  
      if(wpb.pressed() || secondsLeft == 0)
      {
        digitalWrite(MOTOR_PIN, LOW);

/*
Dremelfuge ETC Project 2015-2016
Adapted from Orlov's Instructable on Arduino Powered Centrifuge
