Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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.

Latest threads

Back
Top