 '''<STR_LIT>''' <EOL> import time <EOL> import grovepi <EOL> sensor = <NUM_LIT:4> 
 grovepi . pinMode ( sensor , "<STR_LIT>" ) 
 '''<STR_LIT>''' <EOL> import time <EOL> import grovepi <EOL> sensor = <NUM_LIT:4> <EOL> grovepi . pinMode ( sensor , "<STR_LIT>" ) <EOL> while True : <EOL> try : <EOL> if grovepi . digitalRead ( sensor ) == <NUM_LIT:0> : <EOL> print ( "<STR_LIT>" ) <EOL> else : <EOL> print ( "<STR_LIT>" ) <EOL> time . sleep ( <NUM_LIT> ) <EOL> except IOError : <EOL> print ( "<STR_LIT>" ) </s>
