I am having problems trying to light a led through batteries by giving the signal with my raspberry pi 3B+. This is my current setup. The chip is 74HC08. Doesnt matter if i set output to 1 or 0, the led randomly turns on and off. I even connected the led+ to raspberry GND or 5V but still absolutely ...