This is my first post on these forums. I'm a total noob, but I'm learning a lot from poking around and reading.
What I'm trying to build is a USB button that will trigger a computer keystroke ("F4" for example) as well as a LED animation.
Essentially, when a user presses the button, I want the button to tell the computer to press "F4" then trigger a countdown light made up of LED lights.
This is the button I'm thinking about using:
And this is a similar animation I want the LEDs to do upon button press:
The LEDs will be arranged in a circle (approximately 12 inches in diameter). When the button is pressed the LED ring will start lighting up clockwise. Ideally, 'd want to be able to program the amount of time it takes for the LED ring to light up 2 seconds, 5 seconds, 10 seconds, etc...
Again, I'm just starting to dive into Arduino so I apologize again for not being very well versed on this subject.
If anyone can give me any information or point me in the right direction, that would be awesome.
Blinking LEDs is exhaustively demonstrated on my website http://www.blinkenlight.net. I also have several examples how to implement the Larson scanner effect you want to achieve.
What I'm trying to build is a USB button that will trigger a computer keystroke ("F4" for example)
This is not a project for a self confessed "total noob".
It could be tackled in two ways:-
Make a USB host shield and write an HID host keyboard adapter sketch. Not an easy thing.
Have an other program running on the PC that looks at the serial port and injects characters into the input buffer when it receives them from the arduino.