牛卧堂MCU技术交流

标题: [M032] USB HID to GPIO Bridge [打印本页]

作者: admin    时间: 3 天前
标题: [M032] USB HID to GPIO Bridge
Application
This example code uses the M032 series microcontroller (MCU) to implement the USB HID to GPIO bridge function.
BSP Version
M031_Series_BSP_CMSIS_V3.06.000
Hardware
NuMaker-M032TC_V1.2

This example code demonstrates how to use the NuMicro M032 series microcontroller to implement a USB HID device, which communicates with the PC through a customized HID report protocol and provides a virtual COM port for users to transmit and receive data.

Through USB HID, the PC sends write or read commands to control the pin mode (Input/Output) and logic state (High/Low) of PB.0, PB.1, PB.2, and PB.3 on the M032 series MCU.

You can download the sample code at EC_M032_USB_HID_to_GPIO_Bridge_V1.00.zip.















欢迎光临 牛卧堂MCU技术交流 (http://www.nuvoton-mcu.com/) Powered by Discuz! X3.2