Hi Mel

thanks for your reply

Well I want to keet the lcdout command so thats (6)
I was thinking if the 4 collom outputs could not be shared with D4-D7 from the lcd
so if you scan the keyboards collomns, you dont access the LCD

Your ADC idea might be a good solution, if I dont use all AD's

any example code for that ?