 void setup() {
   Serial.begin(115200);                           // USB serial
   // Software consistency checks (catchable programmer mistakes)
-  if ((_eOUT_MAX != 4) || (_eOUT_MAX > _MASK_BYTE)) { // limit decimal value to what will fit in 1 byte
+  if ((_eOUT_MAX != 3) || (_eOUT_MAX > _MASK_BYTE)) { // limit decimal value to what will fit in 1 byte
     Serial.println(F("SOFTWARE ERROR: _eOUT_MAX invalid. HALT!"));
     while (1);                                     // HANG!!!!!!
   }
   if (_eSHOW_MAX >= _BITS_PER_BYTE) {              // limit binary value to what can be expressed in 8-bits
     Serial.println(F("SOFTWARE ERROR: _eSHOW_MAX invalid. HALT!"));
     while (1);                                     // HANG!!!!
-  } 
+  }
+  if (_EEPROM_Config_LEN >= _EEPROM_SIZE) {
+    Serial.println(F("SOFTWARE ERROR: _EEPROM_Config_LEN >= _EEPROM_SIZE. HALT!"));
+    while (1);                                     // HANG!!!!
+  }
   EEPROM_readAnything(_EE_OFFSET_ID, xv_config);   // read the saved EEPROM configuration
   if(xv_config.id != _EEPROM_ID) {                 // If EEPROM ID has changed...
     Serial.println(F("EEPROM version is different from last time. Initializing EEPROM"));

              processSignalStrength(ix);
            } // if (aryInvalidDataFlag[ix] == 0)
          } // for (int ix = 0; ix < _N_DATA_QUADS; ix++)          
          switch (eShow) {
            case _eOUT_UNKNOWN :                                // eShow = Unknown or uninitialized (value: 0)
              break;
            case _eOUT_DIST :                                   // eShow = display distance data (value: 2)
              //break;
            case _eOUT_ANGLE :                                  // eShow = display angle data (value: 3)              
              for (int ix = 0; ix < _N_DATA_QUADS; ix++) {
                // We can't count on being able to display speed data at angle = 0
                // so we look for the angle to go from a high value to a lower value

uint16_t motor_rph = 0;
uint16_t startingAngle = 0;                      // the first scan angle (of group of 4, based on 'index'), in degrees (0..359)
int iCurrentAngle = 0;
SerialCommand sCmd;                              // create an instance of the serial device handler object

const int ledPin = 11;                           // blink the LED
boolean ledState = LOW;                          // Toggle LOW/HIGH
