cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

New Contributor II

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
Reply
1 Solution
Honored Contributor II

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
Employee

Hello,

Currently we do not have a code with this requirement.

Thanks,

Hima

0 Likes
Reply
Honored Contributor II

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