Keyboard Input?
Daphyl
Posts: 17
Is there any way to read input from the computer keyboard (single key press) while the BS2px application is already running?
David
David
Comments
Maxim makes a serial transmitter/receiver (MAX3110) that can be accessed using SPI protocol (with the SHIFTIN and SHIFTOUT commands of PBasic) and has a built-in RS-232 converter. All it needs is a crystal and a couple of small capacitors for the crystal.
There are also several manufacturers of preprogrammed PIC processors that act as serial buffers. These are easier to use than the Maxim chip and some are specifically designed for use with the Stamp or similar microcontroller. One example is (www.protean-logic.com/tickit/rsb509B_HTML_Cutsheet.htm). You can find others with a web search for "serial buffer" or similar terms.