Hey all. I've never worked with an Arduino or other MCU stuff before, but I've been reading a whole lot and I have an idea for a project. (Sorry if this post turns out a little tangential; my mind is racing right now.)
Basically, I'm wondering what it would take to read in a user's input. I was envisioning a program with a command prompt-like window open and a person could hit a key and the unit would respond immediately. Or maybe I have some sort of sequence loaded into a file, and then the program reads the file in and executes it on my keystroke.
I'm going to use the default IDE and everything like that. But I watched a basic video on the Arduino, and in it, they said that you push code to it, and after ten seconds it puts the code into effect. But if that's true, then how would you take input over USB? Do you use the Serial class? And is possible to build that sort of prompt in the Arduino language?
Is this sort of thing possible, or am I thinking too far ahead? Could I do this over the default USB interface built onto the board (I've got the new Duemilanove in mind) or would I have to add another USB adapter onto the RxTx and toss a keyboard on there?
Any help or ideas are much appreciated. Thanks~