PDA

View Full Version : Communication over USB



hardliner66
12-14-2012, 05:18 AM
Hi everyone,

i got my teensy 2.0 three days ago and allready started to experiment with it. Everything works fine (except that c is not my primary language :D) but theres one think i can't figure out.
Is there a sinole way to send commands to the board over USB?

For example, lets take the Demo for using Teensy as Mouse (http://www.pjrc.com/teensy/usb_mouse.html)

With this code the board works as mouse and moves in circles every 10 secs.
Now i want to control the program-flow over a normal windows exe. For example, write one exe which stops the mouse moving and another to start the mouse moving.

Which is the best (simplest) way to get this working?

Regards