matt.green
New Member
Hi guys,
I have an EPOS keyboard which - unfortunatly - doesnt have programmable keys. What I want to do is to be able to read the key pressed using a PICAXE and send the data back to a VB program using the USB Download cable.
I dont really mind what is sent over serial, as long as its different for each key. I guess the easy option would be just to send a character followed by the key code? (e.g. "s34")
Also the keyboard has a key switch in it, which when the keys are turned outputs two ascii characters are sent (e.g. "t1", "t2" etc). Would it be possible for the chip to work out when a key is turned and send the two together? Otherwise it would send "s" followed by key code for t then another "s" followed by the key code for 1. I want it to just send "st1".
I think it is easy to do, im just not sure how!
Thanks in advance and I appologise for the poor description!
Thanks,
Matt
I have an EPOS keyboard which - unfortunatly - doesnt have programmable keys. What I want to do is to be able to read the key pressed using a PICAXE and send the data back to a VB program using the USB Download cable.
I dont really mind what is sent over serial, as long as its different for each key. I guess the easy option would be just to send a character followed by the key code? (e.g. "s34")
Also the keyboard has a key switch in it, which when the keys are turned outputs two ascii characters are sent (e.g. "t1", "t2" etc). Would it be possible for the chip to work out when a key is turned and send the two together? Otherwise it would send "s" followed by key code for t then another "s" followed by the key code for 1. I want it to just send "st1".
I think it is easy to do, im just not sure how!
Thanks in advance and I appologise for the poor description!
Thanks,
Matt