a.binder 5 anos atrás
pai
commit
8948d042f0

+ 3 - 3
SE/stuff/P5_Automation_can-dev-res/P5_Automation_can-dev-res.ino

@@ -363,12 +363,12 @@ void loop() {
   // put your main code here, to run repeatedly:
   //BEGIN CAN
    
-   #if Active_ControllerID == _Slave1_ID
+  // #if Active_ControllerID == _Slave1_ID
       #include "_SlaveID_loop1.h"
-    #elif Active_ControllerID == _ControllerID
+  //  #elif Active_ControllerID == _ControllerID
          #include "_ControllerID_loop1.h"
          
-    #endif
+   // #endif
   
   
   _Slave_Ports_queue__list(_Slave_Ports_queue_tasks_LIST) ;

+ 3 - 3
SE/stuff/P5_Automation_can-dev-res/_SlaveID_loop1.h

@@ -42,9 +42,9 @@ if(!digitalRead(CAN_INTpin))                    // If pin 2 is low, read receive
         //          display.print(" ");
         //       #endif
 
-               if(_Slave_Ports_queue_task_type_LIST[i]) {
-                   Serial.print(" [");  Serial.print(_Slave_Ports_queue_task_type_LIST[i]);   Serial.print("] "); 
-               }
+             //  if(_Slave_Ports_queue_task_type_LIST[i]) {
+             //      Serial.print(" [");  Serial.print(_Slave_Ports_queue_task_type_LIST[i]);   Serial.print("] "); 
+             //  }
                
             }
             Serial.println();