use Libraries.Robots.Lego.Motor //spiral out robot
use Libraries.Robots.Lego.Utility // New Library
Motor motor
Utility utility
integer speedB=1 //varibible to control speed
integer speedC=-5 // look below to find where we add to this number.
motor:SetSpeed("B",speedB)
motor:SetSpeed("C",speedC)
repeat 75 times
motor:RotateForward("B")
motor:RotateForward("C")
utility:DelayMilliseconds(200) // Using the Utility Libray we add a short Pause
speedB = speedB+2 // increase the spead of B
speedC = speedC+1 // Increase the speed of C
motor:SetSpeed("C",speedC) //send the new speeds mto the motor
motor:SetSpeed("B",speedB)
end //end of the repeat