<s> """<STR_LIT>""" <EOL> from bbio import * <EOL> LED = USR3 <EOL> KNOCK_SENSOR = A0 <EOL> THRESHOLD = <NUM_LIT> <EOL> def setup ( ) : <EOL> pinMode ( LED , OUTPUT ) <EOL> print "<STR_LIT>" <EOL> def loop ( ) : <EOL> value = analogRead ( KNOCK_SENSOR ) <EOL> if ( value > THRESHOLD ) : <EOL> toggle ( LED ) <EOL> print "<STR_LIT>" <EOL> delay ( <NUM_LIT:100> ) <EOL> run ( setup , loop ) </s>
