+#include <EEPROMex.h>
+
 #include <Value.h>
 #include <ValueEeprom.h>
 
+ValueEeprom<bool> configured;
+ValueEeprom<float> floatVal1(5,2);
 
 void setup() {
   Serial.begin(9600);

  // use this as a buffer for all getValueString calls
  char outBuf[80];

  
  Serial.println(F("float Value, default format, 1 digit long, with no decimal places"));
  Value<float> floatVal1;
  
  Serial.print(F("Initial floatVal1.value: "));
  Serial.print(floatVal1.getValue());
  Serial.print(F(", floatVal1.getValueString: "));
  floatVal1.getValueString(outBuf);
  Serial.println(outBuf);

  floatVal1.setValue(2.01);


  Serial.print(F(", floatVal1.getValueString: "));
  floatVal1.getValueString(outBuf);
  Serial.println(outBuf);

  floatVal1.revertValue();

  Serial.print(F("Reverted floatVal1.value: "));
  Serial.print(floatVal1.getValue());
  Serial.print(F(", floatVal1.getValueString: "));
  floatVal1.getValueString(outBuf);
  Serial.println(outBuf);

  floatVal1.setValue(2.02);
  floatVal1.persistValue();

  Serial.print(F("Persited floatVal1.value: "));
  Serial.print(floatVal1.getValue());
  Serial.print(F(", floatVal1.getValueString: "));
  floatVal1.getValueString(outBuf);
  Serial.println(outBuf);

  floatVal1.revertValue();

  Serial.print(F("Reverted floatVal1.value after persist: "));
  Serial.print(floatVal1.getValue());
  Serial.print(F(", floatVal1.getValueString: "));
  floatVal1.getValueString(outBuf);
  Serial.println(outBuf);

  
}

