File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ void loop()
69
69
usb_hid.mouseMove (RID_MOUSE, delta, delta); // right + down
70
70
71
71
// delay a bit before attempt to send keyboard report
72
- delay (2 );
72
+ delay (10 );
73
73
}
74
74
}
75
75
Original file line number Diff line number Diff line change 6
6
* It will receive data from Host (In endpoint) and echo back (Out endpoint).
7
7
* HID Report descriptor use vendor for usage page (using template TUD_HID_REPORT_DESC_GENERIC_INOUT)
8
8
*
9
- * Run 'python3 hid_test.py' on your PC to send and receive data to this device.
10
- * Python and `hid` package is required, for installation please follow
11
- * https://pypi.org/project/hid/
9
+ * There are 2 ways to test the sketch
10
+ * 1. Using nodejs
11
+ * - Install nodejs and nmp to your PC
12
+ * - Install execellent node-hid (https://github.com/node-hid/node-hid) by
13
+ * $ npm install node-hid
14
+ * - Run provided hid test script
15
+ * $ node hid_test.js
16
+ *
17
+ * 2. Using python hidRun
18
+ * - Python and `hid` package is required, for installation please follow https://pypi.org/project/hid/
19
+ * - Run provided hid test script to send and receive data to this device.
20
+ * $ python3 hid_test.py
12
21
*/
13
22
14
23
#include " Adafruit_TinyUSB.h"
You can’t perform that action at this time.
0 commit comments