reirect (CDC_Transmit_FS) to (printf) in stm32

Status
Not open for further replies.

tariq70

New Member
hi
I'm using stm32 f103RBT8 in keil 5 i'm using usb device to transmit data by using CDC_Transmit_FS command.
but i want to use printf command. I dont know how to redirect it to printf.
is there any way?
Thank you.
 
Can you use sprintf to print to a buffer and then pass the buffer to the transmit routine?

Mike.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…