Problem with keypad code

Status
Not open for further replies.
I don't know what else you have on port B so this may not matter.

scancol=scancol<<1; //this leaves bit 0 as 0
do,
scancol=(scancol<<1)|1;

See if that helps.

Mike.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…