I'm currently working on a project for my first embedded systems course and was looking for a little guidance. For my first ever project I'm working on using keyboard input to move a led around a 3x3 grid. However, I currently have to push enter after each input, I was wandering if I could continuously monitor keyboard input so I wouldn't have to confirm entry each time.
I'm guessing its in the realm of Stream.Read() but I wouldn't know how to implement it.
If someone could point me in the right direction that would be great.
There the following options in front of you as such:
Utilize a PS 2 keyboard and use PS 2 protocol in your Arduino programme to handle inputs coming from keyboard strokes and as per the inputs you can code to light up the LED;s in matrix the way you want.(you can implement this feature without a computer dependency)
You can write a processing programme or any other language programme which can intake the letter pressed on the keyboard and send to the serial port to which the arduino is connected.(computer dependency)
Easiest way is to use a USB host shield with a USB keyboard that provides you a standalone keyboard without a computer and a bit easy to code as well.(w/o computer dependency).