I've been following basic tutorials on how to programmatically turn on leds from my Raspberry Pi 2. I'm using a breadboard, and I connect 3 leds, using a male-female jumper from the pins of the raspberry to the breadboard. I've been using the pins 7, 11 and 13 (GPIO 4, GPIO 17 and GPIO 27). Yesterday I got everything working as expected, code used is (shortened):
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
GPIO.setup(17, GPIO.OUT)
GPIO.output(17,True)
GPIO.cleanup()
Today I've been making some changes, and at the end wanted to return the same old configuration. Did everything as the tutorials said again, but now the led connected to pin 11 (GPIO17) is always on, doesn't matter the programmatical input.
Any ideas where I probably go wrong, or maybe some settings I need to change. Any ideas will be appreciated.