<s> """<STR_LIT>""" <EOL> from BreakfastSerial import Arduino , Buzzer , Sensor , setInterval <EOL> from time import sleep <EOL> board = Arduino ( ) <EOL> buzzer = Buzzer ( board , "<STR_LIT>" ) <EOL> sensor = Sensor ( board , "<STR_LIT>" ) <EOL> def loop ( ) : <EOL> value = sensor . value or <NUM_LIT:1> <EOL> value = value / <NUM_LIT:2> <EOL> buzzer . on ( ) <EOL> sleep ( value ) <EOL> buzzer . off ( ) <EOL> sleep ( value ) <EOL> setInterval ( loop , <NUM_LIT:0> ) <EOL> import code <EOL> code . InteractiveConsole ( locals = globals ( ) ) . interact ( ) </s>
