Plugging into the 3.3v worked, but GPIO pins just will not work for whatever reason. WiringPi & Python just won't work.
pin I'm using
Code: Select all
| 18 | 1 | OUT | GPIO. 5 | 5 | 24 |Code: Select all
gpio write 5 1
gpio write 5 0Python Code I've tried
Code: Select all
import RPi.GPIO as GPIO
import time
pin = 18
delay = 1
GPIO.setmode(GPIO.BOARD)
GPIO.setup(pin, GPIO.OUT)
def doLED(delayit):
print("on")
GPIO.output(pin, GPIO.HIGH)
time.sleep(delayit)
print("off")
GPIO.output(pin, GPIO.LOW)
return;
doLED(delay)
GPIO.cleanup()Code: Select all
Raspberry Pi Details:
Type: Pi 2, Revision: 01, Memory: 1024MB, Maker: Embest 
