<s> '''<STR_LIT>''' <EOL> import time <EOL> import grovepi <EOL> vibration_motor = <NUM_LIT:8> <EOL> grovepi . pinMode ( vibration_motor , "<STR_LIT>" ) <EOL> while True : <EOL> try : <EOL> grovepi . digitalWrite ( vibration_motor , <NUM_LIT:1> ) <EOL> print ( '<STR_LIT:start>' ) <EOL> time . sleep ( <NUM_LIT:1> ) <EOL> grovepi . digitalWrite ( vibration_motor , <NUM_LIT:0> ) <EOL> print ( '<STR_LIT>' ) <EOL> time . sleep ( <NUM_LIT:1> ) <EOL> except KeyboardInterrupt : <EOL> grovepi . digitalWrite ( vibration_motor , <NUM_LIT:0> ) <EOL> break <EOL> except IOError : <EOL> print ( "<STR_LIT>" ) </s>
