I did successfully installed Adafruit_Python_DHT from here: https://github.com/adafruit/Adafruit_Python_DHT
sudo python setup.py install.
The DH11 sensor works great - no problems with it. But then i disconnected it and connected a LED on same pin 4. Plugged in the RPi and it just start to emmit light ... then stop .... then back on and so on ... LED turn on and off by it self at random rate. Also in command line , when i write
nothing happend, LED continue to ON/OFF by itself. Also gpio -g write 4 0 -> didnt stop the LED from turning on by its self.
Code: Select all
$gpio -g mode 4 out $gpio -g write 1
I want to note that: just yesterday this LED was on pin 4 and everything was OK , using same terminal commands and same electronic components. And the only difference is that today i installed Adafruit_Python_DH and connected the DH11 sensor.
Can you suggest , why such behavior now?