go_away

Author Topic: arduino  (Read 410 times)

0 Members and 1 Guest are viewing this topic.

Offline harpoTopic starter

  • Jr. Member
  • **
  • Posts: 40
  • Helpful? 1
arduino
« on: September 02, 2011, 12:41:11 PM »
hello and welcome to my post XD.
i am wondering if any body reading this would know how to program a arduino so that when connected to my computer via a usb cable the keyboard input from my computer would tell it what to do.

for example presses the w key on keyboard and light on arduino turns on
releases key and the light turns of

thank you for any help given have a nice day.

Offline joe61

  • Supreme Robot
  • *****
  • Posts: 417
  • Helpful? 16
Re: arduino
« Reply #1 on: September 02, 2011, 06:54:23 PM »
There are some tutorials on the web (google "arduino tutorial"), for example http://www.ladyada.net/learn/arduino/

In general you can talk to an arduino through the USB port using the serial monitor, and the Serial class in your code. The link above will take you through that.

Joe

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
6006 Views
Last post January 16, 2009, 10:07:32 PM
by Kirk
7 Replies
1032 Views
Last post September 28, 2010, 08:24:32 AM
by awally88
6 Replies
1462 Views
Last post September 19, 2010, 06:34:13 PM
by rbtying
6 Replies
1470 Views
Last post December 29, 2010, 01:05:24 AM
by Abhigiri


Get Your Ad Here