How to do a keyboard FIFO?

Brietech

Senior Member
I'm wondering if it's possible to build a picaxe-based FIFO for a ps/2 keyboard? Possibly using a dedicated 18X chip (does the Keyin command allow PWM to continue in the background? Also, can Keyin be halted by an interrupt?). I'm trying to come up with a way of making keyboard input more friendly. My initial thought was to have a dedicated 18X just looping a Keyin command, which it puts on a stack, and then outputting an analog equivalent in the background that the "master" could read of the earliest key. The master would still need a way of signaling that it had read the key, however. Anyway, thoughts from the crowd would be appreciated if anyone knows how to do this =)
 

hippy

Technical Support
Staff member
I don't think KEYIN can be interrupted, so it would have to be, get one, pass it on, wait for another. You could have a second PICAXE (08/08M) between that and the final destination, polling and handshaking each to act as a FIFO because that would never be blocking except during the short transfers.
 
Top