I got a pack of 1o optoisolators and even though I tried replacing them before, this time it worked. Led on pin 13 flickers even if no key is pressed just like the test probe but when I press a key on the keyboard the pin 13 responds with a brighter flicker. I have to mention there is no resistor between pin 5 and 7, there should be a 10k resistor but when i put one in flicker response stops. Is that weird, how does that affect the circuit?
Thank you very much for your guidance and patience.