Hello,
I'm on my second project using these devices. I have a circuit that takes ps/2 keyboard input and drives a small two-arm semaphore. Currently, it has to wait until one character has been displayed before it will accept another keypress, as the manual says that processing stops while the picAXE waits for a keyboard press. It would be nice to have a keyboard buffer.
So... my question is - can I put the keyboard input routine in one parallel task and the arm-waving routine in a second parallel task, connecting the two with a circular buffer - or will the kbin [timeout], variable command stop both processes?
Many thanks in advance
Hugh Norwood
PS here is a video of the prototype in action:
http://youtu.be/RZwXq13EMoA
I'm on my second project using these devices. I have a circuit that takes ps/2 keyboard input and drives a small two-arm semaphore. Currently, it has to wait until one character has been displayed before it will accept another keypress, as the manual says that processing stops while the picAXE waits for a keyboard press. It would be nice to have a keyboard buffer.
So... my question is - can I put the keyboard input routine in one parallel task and the arm-waving routine in a second parallel task, connecting the two with a circular buffer - or will the kbin [timeout], variable command stop both processes?
Many thanks in advance
Hugh Norwood
PS here is a video of the prototype in action:
http://youtu.be/RZwXq13EMoA
Last edited: