When I set GPIO pin for input and read the value, I get high and low continuously. Doesn't matter which pin I set. I couldn't even light a led yet.
This is happening when I connect 40 pin ribbon connector cable. Everything turns normal when I don't connect it. What is the reason ? Is it cable ? Can you help me? Thanks.