 
     didResetMode = false;
   }
-  //debugMessage("checkButton() END!");
 }
 
 /*****************************

// Written by Jose Nunez as didactic example on pulic domain.
// This example depends on Paul Stoffregen's SerialFlash library
// Download at https://github.com/PaulStoffregen/SerialFlash

#include <CurieSerialFlash.h>
#include <SPI.h>

#define FSIZE 256
#define ledPin 13
#define buttonPin 10

const char *filename = "rfidble.txt";
#define CONTENT_SIZE 153

void setup() {
  Serial.begin(9600);
  debugMessage("Setup() BEGIN!");
  pinMode(ledPin, OUTPUT);
  pinMode(buttonPin, INPUT);
  parpadear (3, 1000);
  delay(1000);// wait for Arduino Serial Monitor
  parpadear (3, 500);

  // Init. SPI Flash chip
  if (!SerialFlash.begin(ONBOARD_FLASH_SPI_PORT, ONBOARD_FLASH_CS_PIN)) {
    Serial.println("Unable to access SPI Flash chip");
  }

  debugMessage("Setup() DONE!");
}
/*----------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------*/
bool executedOnce = false;
bool addKeyMode = false;
void loop() {

      executedOnce = true;
    }
  }
  
  processButtonCase();

}

void processButtonCase() {
  heartBeat();

