i think portd.7 6 5 4... it on row... i hope true... how i can make it mask off??
hi,
Look at this option, I have checked it with your keypad settings and it works ok.
Dont forget to make Dim keyoff as Byte
Code:
lp1:
PORTD = 0x0f
keyoff = PORTD And 0xf0
If keyoff <> 0 Then
Goto lp1
Endif
Last edited: