T tariq70 New Member Dec 26, 2020 #1 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.
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.
P Pommie Well-Known Member Most Helpful Member Dec 26, 2020 #2 Can you use sprintf to print to a buffer and then pass the buffer to the transmit routine? Mike.