GPIO PIN always on

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

GPIO PIN always on

Postby mad87 » Sun Jul 27, 2014 3:29 pm

Hy guys,

i'm new with raspberry and archlinux programming. I've followed some tutorials and now i'm trying to turn on/off two LEDs on a breadboard. Following the guide from projects.drogon.net i installed wiringpi with pacman and from shell with command :

gpio mode 0 out
gpio write 0 1
gpio write 0 0

the led turns on but now it doesn't more go off. i used gpio reset but it didn't work. with the command gpio readall result that all pins are Low but the led is on.

i don't know what to do.. Any idea ?
THank You.
mad87
 
Posts: 1
Joined: Sun Jul 27, 2014 3:18 pm

Re: GPIO PIN always on

Postby crashmaster » Thu Aug 07, 2014 3:30 pm

This sounds more like a hardware than a software problem.
Be careful with gpio numbering of wiringPi, eventually it's different to the RPi layout.
For a better help you should show how you connected it.
crashmaster
 
Posts: 119
Joined: Wed Mar 13, 2013 1:00 am


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 71 guests

cron