Hi. please bear with me, as im very new to this, and a little confused easily..
I want to use the output pins on my 18M chip to output a 5 or 8bit parallel output..
For the input i'm using a ps2 keyboard
I've used the KBin command, and also used the reference table from the keyin.bas sample.
I then store the keyvalue into either b0 or b1 and then let pins = b0 pause 1 sec then set them all to 0 again...
PROblem = when simulating only output 0,1,2,3,4,5, all go high. which ever keyboard key is pressed the output is the same.
I tried using if keyvalue = $ (key) then let pins = (my own binary out)
but this does the same... Any advice or sample codes to try would make my day![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Many thanks all... Very sorry if this is already in a post, I did have a good look
I want to use the output pins on my 18M chip to output a 5 or 8bit parallel output..
For the input i'm using a ps2 keyboard
I've used the KBin command, and also used the reference table from the keyin.bas sample.
I then store the keyvalue into either b0 or b1 and then let pins = b0 pause 1 sec then set them all to 0 again...
PROblem = when simulating only output 0,1,2,3,4,5, all go high. which ever keyboard key is pressed the output is the same.
I tried using if keyvalue = $ (key) then let pins = (my own binary out)
but this does the same... Any advice or sample codes to try would make my day
Many thanks all... Very sorry if this is already in a post, I did have a good look