I used some firmware I found online to turn the UNO into an emulated HID device. The Arduino is no longer connected to a Serial COM port so I can't send serial data from my computer to the device. Is there a way that the Arduino can receive data from the computer in order to drive a function while in the HID emulated state?
-
yes, if the HID has an input channeljsotola– jsotola2020年05月13日 07:11:35 +00:00Commented May 13, 2020 at 7:11
-
the 'some firmware' would have to support itJuraj– Juraj ♦2020年05月13日 08:09:53 +00:00Commented May 13, 2020 at 8:09
1 Answer 1
You could use a second USB on the PC and use Hardware Serial to transmit commands. (Either via a second Arduino or a FTDI adapter)
But be aware that at least the firmware I use and the controller programs are very sensitive to being disturbed in the loop. So you should have a good understanding of timers, interupts and non blocking code.
-
1doesn't NicoHood support Serial and HID together?2020年05月13日 17:41:28 +00:00Commented May 13, 2020 at 17:41