iprintf that prints 64bit integer

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

cross mob
D_Sd_3235936
Level 4
Level 4
25 sign-ins 50 questions asked 25 replies posted

Hi,

Regarding this post: http://www.cypress.com/comment/199841 .

I would like to use the lite iprintf to send 64bit parameters. Currently it only supports %d for 32bit integers.

is it possible?

if so, can you assist with code?

Thanks

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

DimaSidi,

Attached is a demo project printing 64-bit integers using custom formatting procedure (without "stdio.h" and "sformat"). Project compiled using PSoC5LP (KIT-059), but formatting procedure will work of PSoC4 same way. You need to update corresponding UART component and assign pins.

/odissey1

Print64_01a.png

View solution in original post

2 Replies
himam_31
Employee
Employee
50 likes received 25 likes received 10 likes received

Hello,

Currently we do not have a code with this requirement.

Thanks,

Hima

0 Likes
lock attach
Attachments are accessible only for community members.
odissey1
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

DimaSidi,

Attached is a demo project printing 64-bit integers using custom formatting procedure (without "stdio.h" and "sformat"). Project compiled using PSoC5LP (KIT-059), but formatting procedure will work of PSoC4 same way. You need to update corresponding UART component and assign pins.

/odissey1

Print64_01a.png