 boolean writingToFlash = false;  // whether we are currently writing to MAX1464
                                  // flash memory
 unsigned long hexLinesWritten = 0; // count hex lines written during flash loop
-MAX1464 maxim(10);
+MAX1464 max1464(10);
 
 void printIden() {
     Serial.println("Arduino MAX1464 Serial Terminal");

    printIden();
    inputString.reserve(200);

//    maxim.setPins(11,12,13); // only for software SPI
    maxim.begin();
}

void serialEvent() {

                    hexLinesWritten = 0;
                    Serial.println();
                }
                if(max1464.hasEOFBeenReached()) {
                    writingToFlash = false;
                    Serial.println();
                }
