|
|
@@ -54,27 +54,51 @@
|
|
|
|
|
|
#if defined(DISABLE_TASK_TYPE_T_DISPLAY_queue_pop________)
|
|
|
#else
|
|
|
-
|
|
|
- String message = "1CAN BCAST "; message.concat(i); message.concat("."); message.concat( Slave_Ports_Status_A[i].Port_ID ); message.concat(" >>> ");
|
|
|
+ #if defined(DISPLAY_array16_T_is_DISPLAY_string_T)
|
|
|
+
|
|
|
+ String message = "1CAN BCAST "; message.concat(i); message.concat("."); message.concat( Slave_Ports_Status_A[i].Port_ID ); message.concat(" >>>");
|
|
|
+ // DISPLAY__CURSOR_Y_CHARS__SET(DISPLAY_PHYSICAL_CHAR_A,
|
|
|
+ // DISPLAY_CURSOR_Y_CHARS_CAN_DEBUG);
|
|
|
+ DISPLAY__print(
|
|
|
+ DISPLAY_A ,
|
|
|
+ DISPLAY_T_ARDUINO_ATTR_ARRAY_A ,
|
|
|
+ DISPLAY_PHYSICAL_CHAR_A,
|
|
|
+ DISPLAY_pos_seq_A_NEXT | DISPLAY_pos_seq_A_IMMEDIATE, //TODO BITTEST
|
|
|
+ message , // DISPLAY_array16_I( "#53 BCAST " + char( Slave_Ports_Status_A[i].Port_ID ) , 2), //message,
|
|
|
+ DISPLAY_TARGET_DISPLAY128,
|
|
|
+ time , // time_seq_id_T time_seq_id_A;
|
|
|
+ time+ARDUINO_time_seq_id_A_INCREMENT, //time_min_run_T time_min_run_A;
|
|
|
+ //queue
|
|
|
+ Slave_Ports_Status_QUEUE_A, Slave_Ports_Status_QUEUE_T_ARDUINO_ATTR_ARRAY_A ,
|
|
|
+ TASK_TYPE_T_Slave_Ports_broadcast____ , //TASK_TYPE_A,
|
|
|
+ { Slave_Ports_Status_A[i].Port_ID } //TASK_PORT_ASSOC_A
|
|
|
+
|
|
|
+ );
|
|
|
+ #else
|
|
|
+ String message = "1CAN BCAST "; message.concat(i); message.concat("."); message.concat( Slave_Ports_Status_A[i].Port_ID ); message.concat(" >>> ");
|
|
|
DISPLAY_array16_T DISPLAY_array16_AA="" ;
|
|
|
message.toCharArray(DISPLAY_array16_AA, 16);
|
|
|
+
|
|
|
DISPLAY__CURSOR_Y_CHARS__SET(DISPLAY_PHYSICAL_CHAR_A,
|
|
|
DISPLAY_CURSOR_Y_CHARS_CAN_DEBUG);
|
|
|
- DISPLAY__print(
|
|
|
- DISPLAY_A ,
|
|
|
- DISPLAY_T_ARDUINO_ATTR_ARRAY_A ,
|
|
|
- DISPLAY_PHYSICAL_CHAR_A,
|
|
|
- DISPLAY_pos_seq_A_NEXT | DISPLAY_pos_seq_A_IMMEDIATE, //TODO BITTEST
|
|
|
- DISPLAY_array16_AA , // DISPLAY_array16_I( "#53 BCAST " + char( Slave_Ports_Status_A[i].Port_ID ) , 2), //message,
|
|
|
- DISPLAY_TARGET_DISPLAY128,
|
|
|
- time , // time_seq_id_T time_seq_id_A;
|
|
|
- time+ARDUINO_time_seq_id_A_INCREMENT, //time_min_run_T time_min_run_A;
|
|
|
- //queue
|
|
|
- Slave_Ports_Status_QUEUE_A, Slave_Ports_Status_QUEUE_T_ARDUINO_ATTR_ARRAY_A ,
|
|
|
- TASK_TYPE_T_Slave_Ports_broadcast____ , //TASK_TYPE_A,
|
|
|
- { Slave_Ports_Status_A[i].Port_ID } //TASK_PORT_ASSOC_A
|
|
|
-
|
|
|
- );
|
|
|
+ DISPLAY__print(
|
|
|
+ DISPLAY_A ,
|
|
|
+ DISPLAY_T_ARDUINO_ATTR_ARRAY_A ,
|
|
|
+ DISPLAY_PHYSICAL_CHAR_A,
|
|
|
+ DISPLAY_pos_seq_A_NEXT | DISPLAY_pos_seq_A_IMMEDIATE, //TODO BITTEST
|
|
|
+ DISPLAY_array16_AA , // DISPLAY_array16_I( "#53 BCAST " + char( Slave_Ports_Status_A[i].Port_ID ) , 2), //message,
|
|
|
+ DISPLAY_TARGET_DISPLAY128,
|
|
|
+ time , // time_seq_id_T time_seq_id_A;
|
|
|
+ time+ARDUINO_time_seq_id_A_INCREMENT, //time_min_run_T time_min_run_A;
|
|
|
+ //queue
|
|
|
+ Slave_Ports_Status_QUEUE_A, Slave_Ports_Status_QUEUE_T_ARDUINO_ATTR_ARRAY_A ,
|
|
|
+ TASK_TYPE_T_Slave_Ports_broadcast____ , //TASK_TYPE_A,
|
|
|
+ { Slave_Ports_Status_A[i].Port_ID } //TASK_PORT_ASSOC_A
|
|
|
+
|
|
|
+ );
|
|
|
+ #endif
|
|
|
+
|
|
|
+
|
|
|
#endif
|
|
|
|
|
|
#if defined(DEBUG_TASK_TYPE_T_Slave_Ports_broadcast____)
|
|
|
@@ -103,7 +127,26 @@
|
|
|
|
|
|
#if defined(DISABLE_TASK_TYPE_T_DISPLAY_queue_pop________)
|
|
|
#else
|
|
|
- message = "2CAN BCAST "; message.concat(i); message.concat("."); message.concat(Slave_Ports_Status_A[i].Port_ID); message.concat(" >>> ");
|
|
|
+
|
|
|
+ #if defined(DISPLAY_array16_T_is_DISPLAY_string_T)
|
|
|
+ message = "2CAN BCAST "; message.concat(i); message.concat("."); message.concat(Slave_Ports_Status_A[i].Port_ID); message.concat(" >>>");
|
|
|
+ DISPLAY__print(
|
|
|
+ DISPLAY_A ,
|
|
|
+ DISPLAY_T_ARDUINO_ATTR_ARRAY_A ,
|
|
|
+ DISPLAY_PHYSICAL_CHAR_A,
|
|
|
+ DISPLAY_pos_seq_A_NEXT,
|
|
|
+ message,
|
|
|
+ DISPLAY_TARGET_DISPLAY128,
|
|
|
+ time , // time_seq_id_T time_seq_id_A;
|
|
|
+ time+5000, //time_min_run_T time_min_run_A;
|
|
|
+ //queue
|
|
|
+ Slave_Ports_Status_QUEUE_A, Slave_Ports_Status_QUEUE_T_ARDUINO_ATTR_ARRAY_A,
|
|
|
+ TASK_TYPE_T_Slave_Ports_broadcast____ , //TASK_TYPE_A,
|
|
|
+ { } //TASK_PORT_ASSOC_A Slave_Ports_Status_A[i].Port_ID
|
|
|
+
|
|
|
+ );
|
|
|
+ #else
|
|
|
+ message = "2CAN BCAST "; message.concat(i); message.concat("."); message.concat(Slave_Ports_Status_A[i].Port_ID); message.concat(" >>> ");
|
|
|
|
|
|
message.toCharArray(DISPLAY_array16_AAA, 16);
|
|
|
DISPLAY__print(
|
|
|
@@ -121,6 +164,9 @@
|
|
|
{ } //TASK_PORT_ASSOC_A Slave_Ports_Status_A[i].Port_ID
|
|
|
|
|
|
);
|
|
|
+ #endif
|
|
|
+
|
|
|
+
|
|
|
#endif
|
|
|
|
|
|
|