PDA

View Full Version : Teensy++ 2.0



Kersten
11-07-2012, 02:37 PM
Can i use the Tensy++2.0 Board to communicate with my Computer?

I mean that i send over a serial port a command and the board answers over the same USB Cable.
Is it possible?

Nantonos
11-08-2012, 01:22 AM
Yes. See RAW HID (http://www.pjrc.com/teensy/rawhid.html) for example.

Kersten
11-08-2012, 03:01 PM
Ok, another question:

Is it possible to communicate with my computer over serial port and simulate a mouse/keyboard at the same time with one tensy board?

Dozer
11-08-2012, 03:51 PM
Yes, I believe so.

Open the Arduino IDE (wear latex gloves to keep your hands clean :p ), after installing Teensyduino into it. Open the 'Tools' menu, look under 'USB Type', and there's a 'Serial + Keyboard + Mouse + Joystick' entry in there.

hugomezarina
11-10-2012, 08:23 PM
Nice topic Kersten! Did you get it to work as a keyboard+mouse+joystick?

themaker
11-12-2012, 05:17 AM
Is there a way to do this (initialize the one connection to be recognized both as a mouse and keyboard device) without using Arduino IDE? I was looking through the usb_init and similar functions in the sample libraries but I'm only a few days into this and was wondering if anyone knew a simple way