Hi
I use PIC18F4550 and connected 4*4 keypad to port B but now want add MMC card to my project, the SDI and SCK pins of SPI module is in the port B that I connected keypad to that and init that in mikroBasic I used T6963GLCD too and it's data port is port D.
can I use both in same pin (keypad and mmc on RB0 and RB1)(the columns of keypad connected to this pins as input and have pull up resistors) ???
anyone can not answer my question.
in the time that MMC's commands send or received the keypad do any work.
when the user choosed menu with keypad mcu go out from keypad routins and go to mmc routins.
and the SDI pin is input same keypad pins(serial data input...) but I don't know that SCK pin is input or output(serial clock...).