I am really a noob in this topic and this is my first project. So if you could spare some time please help me.
I want to use my arduino uno as a response logging tool. The setup should contain two buttons, the state of the buttons should be monitored, when button 1 is pressed the arduino should act as HID keyboard and send an "a". If Button two is pressed a "d" should be send.
What I found:
I found already some piece of code http://arduino.cc/forum/index.php?topic=99.0
Theire is said "If you load the sketch up and then reflash the 8u2 with the keyboard.hex file, it will begin typing 6 seconds after being reset. With that being said, be sure to have notepad or something in focus on your computer so that you don't accidentally screw up a sketch." If I could load that code and adjust it, it would help me very much. But I don´t know how to that. I downloaded the WinAVR but I don`t know how to use it propperly.
How can I get the arduino to work like a HDI
Which pins can I use to Monitor the state of the buttons and which circuit do I need to work propperly.
Sry to bother you I really tried to find someting by myself.