Go to advanced search

by CaptainThrills
Fri Feb 05, 2016 4:47 pm
Forum: Troubleshooting
Topic: GPIO Pins just will not work
Replies: 11
Views: 2829

Re: GPIO Pins just will not work

Thanks all, this makes everything a bit more clear now. Changing it to GPIO.BCM did the trick for the python script.
by CaptainThrills
Fri Feb 05, 2016 3:46 pm
Forum: Troubleshooting
Topic: GPIO Pins just will not work
Replies: 11
Views: 2829

Re: GPIO Pins just will not work

Heres the circuit wiring
Image
Image
by CaptainThrills
Fri Feb 05, 2016 5:07 am
Forum: Troubleshooting
Topic: GPIO Pins just will not work
Replies: 11
Views: 2829

Re: GPIO Pins just will not work

Have you tried setting the pin from the command prompt? # gpio mode 5 out # gpio write 5 1 # gpio write 5 0 See if that flips your LED. Forgot to say that yes, I tried setting gpio mode to out. Do you get any errors from the Python script? You aren't passing pin to the def. Return doesn't need the ...
by CaptainThrills
Fri Feb 05, 2016 2:53 am
Forum: Troubleshooting
Topic: GPIO Pins just will not work
Replies: 11
Views: 2829

GPIO Pins just will not work

I have tried quite a bit over these past few hours trying to get a simple LED to light up to no avail. 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 | 18 | 1 | OUT | GPIO. 5 | 5 | 24 | commands I've tried: gpio w...

Go to advanced search