Toggle a pin on a Raspberry Pi

Is there already a plug-in available that will toggle one of the output pins on a Raspberry Pi? I would like a way to reset a controller board using the web interface. I suppose a call to the command line (if that plug-in exists) to a Python script would let me do the same thing.

Thanks in advance,

Mark

Hi Mark,

if you have a CLI command/script that's doing what you want then you could use the "System Command Editor".

System Command Editor GitHub page

I am currently using that to issue a CLI command to turn on and off my LED light above the printer.

Regards
Jan P.

PS: Just to mention it, there is a nice piece of software that allows to issue a command on the CLI without the need of any scripts to set and read GPIO pins. WiringPi

1 Like