so I am a newbie to the raspberry pi and as the title says, I was connected to my rpi trought SSH protocol and the session suddently was terminated due to a 'FlowSocketReader' error or something. My LED is currently on and I am questioning how to turn it off properly. I cant apply the GPIO.cleanup() command here because it assumes that I dont have any channels set up yet.

GPIO(23, False) doesn't work either..

Does someone have a tip for me?


Assuming your SSH session is restored, otherwise reboot ...

On the standard terminal command line:

gpio -g mode 23 out gpio -g write 23 0

From Python:

import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) GPIO.setup(23,GPIO.OUT) GPIO.output(23,0)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.