a.binder 5 rokov pred
rodič
commit
456ced4b38

+ 2 - 2
SE/stuff/P5_Automation_can-dev-res/_Slave_Ports_broadcast_func.h

@@ -142,10 +142,10 @@
                                          //Serial.println("#135 deb CAN_broadcast_A9");
                                          //Serial.println("#135 deb CAN_broadcast_A9");
                                          //byte CAN_broadcast_A9[8] = {0xFF, 0x101, 0x02, 0x03, 0x04, 0x05, 0x07};
                                          //byte CAN_broadcast_A9[8] = {0xFF, 0x101, 0x02, 0x03, 0x04, 0x05, 0x07};
                //  CAN_data_debug(CAN_broadcast_A9);
                //  CAN_data_debug(CAN_broadcast_A9);
-                 byte sndStat = CAN0.sendMsgBuf(Active_ControllerID, 0, 8, CAN_MSG8_A);
+                 byte sndStat = CAN0.sendMsgBuf(Active_ControllerID, 0, 8, CAN_MSG8_A);  CAN_data_debug(CAN_MSG8_A);  
               //    byte sndStat ;
               //    byte sndStat ;
                           if(sndStat == CAN_OK){
                           if(sndStat == CAN_OK){
-                            Serial.println("#921 Message Sent Successfully!");
+                            Serial.println("#921 Message Sent Successfully!");   
                              //String LCDarray1 = "Message Sent";
                              //String LCDarray1 = "Message Sent";
                              //String LCDarray2 = "Successfully";
                              //String LCDarray2 = "Successfully";