简体   繁体   中英

usb printer and stm32F4 host communication

I want to interface my printer with my stm32F407VGT6 board, and I don't know which usb driver library to choose (OTG/DEVICE/HOST). I want to send / receive microcontroller commands to the printer.

thank you in advance :).

You can either use the USB host library, or the OTG (On The Go) library which allows you to be host or device. You should also take care that you are using the right library for your chip.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM