Changes

Jump to navigation Jump to search
82 bytes added ,  19:52, 30 September 2012
Line 24: Line 24:  
Can also be programmed with events. The previous program is equivalent to the following:
 
Can also be programmed with events. The previous program is equivalent to the following:
   −
  local function adelante()
+
  local function adelante()   -- adelante is Spanish for forward or proceed
 
   Motores.setvel2mtr( 1, 500, 1, 500 )
 
   Motores.setvel2mtr( 1, 500, 1, 500 )
 
  end
 
  end
  local function esperar()
+
  local function esperar()   -- esperar is Spanish for wait
 
   Motores.setvel2mtr( 1, 0, 1, 0 )
 
   Motores.setvel2mtr( 1, 0, 1, 0 )
 
   wait( 1 )
 
   wait( 1 )
2,486

edits

Navigation menu