??? 12/16/05 09:42 Read: times |
#105329 - thanks ur website helped,but... Responding to: ???'s previous message |
i am using a standard keyboard.i will connect the data pin to p1.0 and clock to p1.1
what i understood is that data will come from data pin in serial fashion,(that is the keyboard will send 11 bits)but p1.0 is not a rxd pin ,so how will i collect data serially and transfer that data in a parallel can i do the following initially clock=1 as soon as data starts coming clock bcomes high i check data pin ,if it is logic 1 i set bit0 of some memory location ,if it is 0 i clr bit 0 of that memory location then i shift bit 0 in bit 1 position i wait for the clock pin to again go low and repeat the same procedure pls tell me if i am right |