Config.txt python GPIO setup still required
A Python module to control the GPIO on a Raspberry Pi
Brought to you by:
croston
It appears that when GPIO is setup as an output in /boot/config.txt, the Rpi.GPIO library still requires GPIO.setup() to be called. Otherwise, a runtime error occurs that the GPIO has not been configured as an output when trying to set the output to a particular state.
I'm attempting to have a pin setup as an output from boot, and then to manipulate the state using a python script. Adding back in the .setup() call avoids the runtime error.