RuntimeError: You must setup() the GPIO channel first code example
Example: RuntimeError: You must setup() the GPIO channel first
The line that reads
if GPIO.input(23 == False):
Should be
if GPIO.input(23) == False:
The line that reads
if GPIO.input(23 == False):
Should be
if GPIO.input(23) == False: