a.binder 5 سال پیش
والد
کامیت
d16826569f

+ 0 - 19
SE/stuff/P5_Automation_can-dev-res-working-1930/P5_Automation_can-dev-res-working-1930.ino

@@ -436,25 +436,6 @@ void setup() {  //REMEMBER NOT INITIALIZE ANY VARIABLES OR ARRAYS
     
     
     
-    int EEPROM_Active_ControllerID_addr = 0 ;
-
-    int EEPROM_Active_ControllerID_read ;
-
-//    EEPROM.get( EEPROM_Active_ControllerID_addr, EEPROM_Active_ControllerID_read );
-    EEPROM_Active_ControllerID_read = EEPROM.read( EEPROM_Active_ControllerID_addr  );
-
-   
-
-    if(EEPROM_Active_ControllerID_read > 0 ) {
-        //const ing Active_ControllerID_E  = 0x13 ;
-        Serial.println("EER[OK]");
-    } else {
-        Serial.println("EER[EMPT]");
-     //    const ing Active_ControllerID_E  = 0x13 ;
-        EEPROM.update(EEPROM_Active_ControllerID_addr, 0x13);
-    }
-    
-    
 #if defined(DEBUG) || defined(DEBUG_QUEUE)
          Serial.println("#329 Serial.begin(115200)");
 #endif

+ 2 - 0
SE/stuff/P5_Automation_can-dev-res-working-1930/_Slave_Ports_Status_func.h

@@ -37,6 +37,8 @@
         
         if( IS_Local_A == IS_Local_TRUE and _Slave_ID != EEPROM_Active_ControllerID_read_A ) {
             Serial.print(" [IGN]["); Serial.print(_Slave_ID) ; Serial.print("] ");
+        } else {
+            Serial.print(" [P+["); Serial.print(_Slave_ID); Serial.print("] ");
         }
         
           if(i == ARDUINO_ARRAY_INDEX_CORRUPT) {