cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

New Contributor II

uint8_t buffer[512]={0};

CyU3PDebugPrint(4,"%02x",systemtempbuffer[0]);

the print result is s't'range.

0 Likes
Reply
1 Solution
Moderator
Moderator

Hello,

The CyU3PDebugPrint() API does not have support for precision modifiers as in C printf() statement. Please refer to the API details on the FX3 API Guide.

Best regards,

Srinath S

View solution in original post

0 Likes
Reply
2 Replies
Employee

You may provide the wrong code, please check again

uint8_t buffer[512]={0};

CyU3PDebugPrint(4,"%02x",systemtempbuffer[0]);

0 Likes
Reply
Moderator
Moderator

Hello,

The CyU3PDebugPrint() API does not have support for precision modifiers as in C printf() statement. Please refer to the API details on the FX3 API Guide.

Best regards,

Srinath S

View solution in original post

0 Likes
Reply