Quantcast
Channel: Cypress Semiconductor - PSoC Creator Software
Viewing all articles
Browse latest Browse all 369

What a format for sprintf need to use for print array?

$
0
0

I want to print array of this structure : 

typedef struct
{
    uint32 time;
    uint32 date;
    uint32 dayOfWeek;
    uint32 status;
}Timer_DATE_TIME;

What a format for sprintf need to use ?

sprintf(stringBuffer, "%??\r\n",  timeData[i] );
UART_UartPutString(stringBuffer);


Viewing all articles
Browse latest Browse all 369

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>