I am trying to get a 74ls299 working from an arduino.
I have succeeded to get it to light 4 leds and switch them on and off from the arduino, I am now trying get it to 'see' 4 switches on the other 4 i/o pins so I can read them from the arduino. My ultimate goal is to be able to get it to do both these at once.
I am having problems reading the register, I think what I am getting is the info from the first gate only, if I switch the first switch the signal that should show the condition of all four gates just reflects the condition of the first switch i.e. high when it is on and low when it is off as if the clock pulse isn't working.
I have tried to attach a picture of my connections.
Would someone mind helping me to understand what connections the 74ls299 needs to be able to read from the i/o's in parallel and send the info out of which serial port (s0 or s7).
I have succeeded to get it to light 4 leds and switch them on and off from the arduino, I am now trying get it to 'see' 4 switches on the other 4 i/o pins so I can read them from the arduino. My ultimate goal is to be able to get it to do both these at once.
I am having problems reading the register, I think what I am getting is the info from the first gate only, if I switch the first switch the signal that should show the condition of all four gates just reflects the condition of the first switch i.e. high when it is on and low when it is off as if the clock pulse isn't working.
I have tried to attach a picture of my connections.
Would someone mind helping me to understand what connections the 74ls299 needs to be able to read from the i/o's in parallel and send the info out of which serial port (s0 or s7).