File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,9 @@ void loop()
141
141
tc6_inst->write (udp_tx_msg_buf, tx_packet_size);
142
142
tc6_inst->endPacket ();
143
143
144
- Serial.print (" UDP_Client sending: \" " );
144
+ Serial.print (" [" );
145
+ Serial.print (millis ());
146
+ Serial.print (" ] UDP_Client sending: \" " );
145
147
Serial.print (reinterpret_cast <char *>(udp_rx_msg_buf));
146
148
Serial.println (" \" " );
147
149
}
@@ -163,7 +165,9 @@ void loop()
163
165
if (bytes_read > 0 ) {
164
166
udp_rx_msg_buf[bytes_read] = 0 ;
165
167
}
166
- Serial.print (" UDP_Client received packet content: \" " );
168
+ Serial.print (" [" );
169
+ Serial.print (millis ());
170
+ Serial.print (" ] UDP_Client received packet content: \" " );
167
171
Serial.print (reinterpret_cast <char *>(udp_rx_msg_buf));
168
172
Serial.println (" \" " );
169
173
}
You can’t perform that action at this time.
0 commit comments