yohanevindra
Newbie level 5
I have to interface a jeypad amongst other things to a PIC18F452. Instead of using 7 pins i decided to use a keypad encoder, namely the MM74C922N.
As i test i linked up the keypad and then PIC. I put capacitor values of 0.1uF and 1uF for the debounce and read capacitor values, and i supplied a 5V supply to the MM74C922, and sent the data to PORTD0:3, and directly wrote the values to PORTB, but didnt get anything on the PORTB LEDs.
is there anything im doing wrong?does anyone know how to use the encoder?do i need to construct any other circuits with the encoder, because the datasheet has some other circuits in the applications section, so i dont know wht to use.
As i test i linked up the keypad and then PIC. I put capacitor values of 0.1uF and 1uF for the debounce and read capacitor values, and i supplied a 5V supply to the MM74C922, and sent the data to PORTD0:3, and directly wrote the values to PORTB, but didnt get anything on the PORTB LEDs.
is there anything im doing wrong?does anyone know how to use the encoder?do i need to construct any other circuits with the encoder, because the datasheet has some other circuits in the applications section, so i dont know wht to use.