diff options
| author | hathach <[email protected]> | 2019-05-02 18:10:06 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-05-02 18:10:06 +0700 |
| commit | 6446b02ae7a2f4a55c0ac43f9c87836820f06bdf (patch) | |
| tree | 8cdd71dade3fe5795caf3a59088073f2aee6047d /examples/device/hid_generic_inout/src/main.c | |
| parent | a9ef8c9e9da1ec02d3dcad95cfe065469b6aab77 (diff) | |
add hid_test.py for testing #58
add feather nrf52840 express to supported board
Diffstat (limited to 'examples/device/hid_generic_inout/src/main.c')
| -rw-r--r-- | examples/device/hid_generic_inout/src/main.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/device/hid_generic_inout/src/main.c b/examples/device/hid_generic_inout/src/main.c index 04188b038..650df1ce2 100644 --- a/examples/device/hid_generic_inout/src/main.c +++ b/examples/device/hid_generic_inout/src/main.c @@ -30,6 +30,15 @@ #include "bsp/board.h" #include "tusb.h" +/* This example demonstrate HID Generic raw Input & Output. + * It will receive data from Host (In endpoint) and echo back (Out endpoint). + * HID Report descriptor use vendor for usage page (using template TUD_HID_REPORT_DESC_GENERIC_INOUT) + * + * Run 'python3 hid_test.py' on your PC to send and receive data to this device. + * Python and `hid` package is required, for installation please follow + * https://pypi.org/project/hid/ + */ + //--------------------------------------------------------------------+ // MACRO CONSTANT TYPEDEF PROTYPES //--------------------------------------------------------------------+ |
