Hi
Today I decided to tidy up things I left on the "back burner" on the very fist item I uncounted a problem.
Ages ago I built and successfully implemented a one-wire bus master circuit utilizing a DS2408 chip etc it works faultlessly and I transferred all my DS18B20's from the existing installation on GPIO 4 but I never got around to re-purposing GPIO4 back to a normal INPUT / OUTPUT so this morning I removed the resistor that is no longer used for the DS18B20 and expected if I restart the pi it would detect that and revert back to a normal pin, well it didn't work, so I googled how to install a DS18B20 to see if I had installed something to get the sensors working:
Nothing in sudo nano /boot/config.txt
Nothing in sudo nano globals.py
sudo nano /etc/modules has:
#w1-gpio
#w1-therm
snd-bcm2835
i2c-bcm2708
i2c-dev
rtc-ds1307
So no problem there, I did a sudo ./setup.sh skip-apt no difference if I try to use gpio4 after setting it to OUTPUT it still get :
GPIO.digitalWrite(4, value)
_webiopi.GPIO.InvalidDirectionException: The GPIO channel is not an OUTPUT
So the question's are - how does webiopi detect that GPIO4 is being used as a one-wrre pin initially and how do I revert back to a normal GPIO pin now its not being used for one-wire ?
Toshi