Announcements

Learn how to optimise USB-C for your designs at 18 May's USB-C PD Webinar.
Click here to register.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

Peya_4162826
Level 2
Level 2
First like received

uint8_t buffer[512]={0};

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

the print result is s't'range.

1 Solution
SrinathS_16
Moderator
Moderator
Moderator
250 solutions authored 100 solutions authored 100 likes received

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
2 Replies
YangyangC_06
Employee
Employee
50 likes received 25 likes received 10 likes received

You may provide the wrong code, please check again

uint8_t buffer[512]={0};

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

0 Likes
SrinathS_16
Moderator
Moderator
Moderator
250 solutions authored 100 solutions authored 100 likes received

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

0 Likes