UART numeric-value print example, please

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

cross mob
jotic_1250681
Level 2
Level 2
First like received First like given Code Expert

I use a CY8CKIT-059 development board and have spent several hours trying to find a SIMPLE example that shows how to use a UART to send a value such as 316 to a terminal emulator so I can debug a program.  I have found examples, but none that make sense.  I have set up a UART, but discussions of commands sprintf and printf do not lead to a solution.  My application will not need to display anything on a terminal, so I just need a UART so I can run tests.  The simpler the better. Thanks for any assistance. --Jon

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

Jon,

Attached a basic UART demo using Sw_Tx_UART.

/odiisey1

UART_Tx_01a.png

View solution in original post

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

Jon,

Attached a basic UART demo using Sw_Tx_UART.

/odiisey1

UART_Tx_01a.png

jotic_1250681
Level 2
Level 2
First like received First like given Code Expert

Thanks.  Your example looks like it will work for me just fine.  I appreciate your help and the fast response. --Jon

0 Likes