PDA

View Full Version : Dual USB Go Button



Pixelbrick
12-03-2012, 07:51 PM
Morning All,

How would I send a HID command to two laptops at the same time?
I want to make an external box with a "Go" button in it that upon depress it sends the HID command thru to the main and backup computer at exactly the same time.
If the main laptop fails the backup will be on the right cue to take over the show.

Cheers
Dave

PaulStoffregen
12-03-2012, 08:56 PM
Use 2 Teensy boards, connected to the same pushbutton.

Also, keep in mind "exactly the same time" will be limited to about 1 ms accuracy, because the USB host controller in each PC only schedules bandwidth for HID (interrupt type transfers) once every 1 ms USB frame.