<s> import RPi . GPIO as GPIO <EOL> import time <EOL> GPIO . setmode ( GPIO . BCM ) <EOL> red_pin = <NUM_LIT> <EOL> GPIO . setup ( red_pin , GPIO . OUT ) <EOL> try : <EOL> while True : <EOL> GPIO . output ( red_pin , True ) <EOL> time . sleep ( <NUM_LIT:0.5> ) <EOL> GPIO . output ( red_pin , False ) <EOL> time . sleep ( <NUM_LIT:0.5> ) <EOL> finally : <EOL> print ( "<STR_LIT>" ) <EOL> GPIO . cleanup ( ) </s>
