**TI83F*

Created by TI-Smartview CE 5.4.0.1858      úCOULSOL   úøPYCD # Rover
from time import *
from ti_system import *
import ti_rover as rv

rv.forward(2)
while not escape():
  a=rv.color_measurement()
  print(a)
  sleep(1)
  if a==1:
    rv.color_rgb(255,0,0)
  if a==2:
    rv.color_rgb(0,255,0)
  if a==3:
    rv.color_rgb(0,0,255)
  if a==4:
    rv.color_rgb(43,250,250)
  if a==5:
    rv.color_rgb(255,0,255)
  if a==6:
    rv.color_rgb(255,255,0)
  if a==7:
    rv.color_rgb(0,0,0)
  if a==8:
    rv.color_rgb(255,255,255)
  if a==9:
    rv.color_rgb(96,96,96)¾’