import light
import drive


while True:
  if light.get_optical_sensor(3) < 50:
    drive.drive_rpm(30, 0)
  else:
    drive.drive_rpm(0, 30)
