nRF_Segger_RTT

I want to use RTT log to output some data, but the data is output. 6 bytes in a line, but the first byte is an independent line, and the next 6 bytes are a line, staggered by one. I don't know why?  thank you

  

  Here's the procedure


SEGGER_RTT_printf(0,"\r\n=========== SRART ==== group_count:%d\r\n",val);
for(i=0;i<val * 6;i++)
{
   SEGGER_RTT_printf(0,"%x ",buff22[i]);
    if(i%6 == 0)
   SEGGER_RTT_printf(0,"\r\n \r\n");
}

Parents Reply Children
Related