How can I input numeric data from keyboard

Is it possible to input numeric data to an arduino board during a sketch? Can a sketch in operation be interrupted to allow a user to enter a value that is then included in the ongoing sketch?

There is a library to interface PS2 dvices, so you could probably interface a PS2 keyboard.

Posted by: MikMo Posted on: Today at 09:21:22 There is a library to interface PS2 dvices, so you could probably interface a PS2 keyboard

Thank you, MikMo. I'm not sure what type of keybord is PS2, is the keyboard of a PC a PS2 type ?

yes the PC keyboards before they had USB they were PS2.