Hi guys.
I am pretty new to arduino and its functions, so i have some general questions.
I have an arduino uno and i would like to know, if it is possible to controll a circuit on my breadboard over my keyboard.
What i would like to do, just to understand how it works, is to take 4 LEDs, put them on the digital ports, and controll them with my arrow keys. Like i press the up arrow key on my keyboard and turn on the upper LED.
And, if i get this to work, i would like to get the delay between pushing the button and the LED being lit as short as possible.
I would appreciate it a lot if you could tell me IF this is possible, and if it is, how.
I'm guessing that @AWOL's link is for the situation where you want to connect the keyboard directly to your Arduino.
However if you want to control the Arduino using a keyboard attached to a PC life will be easier. You just need to write a program for the PC that sends appropriate commands to the Arduino.
Yeah that's exactly what i want to, connect the arduino uno to my pc and controll it with my keyboard
Thanks for the fast reply, i will take a look at those threats, i hope i understand it.
I am still used to key events as in C# so i will have to find out how this is going to work
Bobopopolus:
I am still used to key events as in C# so i will have to find out how this is going to work
You can use C# to do what my Python code does, if you are more familiar with C#.
When your C# code detects the appropriate key event it sends a character to the Arduino. The Arduino checks the character to decide what LED to turn on or off.