Square.nxc

From RoboWiki
Jump to: navigation, search

Krúžok Robotiky

  #define MOVE_TIME 1000
  #define TURN_TIME 500
task main()
{

    repeat(10)
    {
     repeat(4)
      {
        OnFwd(OUT_AC, 75);
        Wait(MOVE_TIME);
        OnRev(OUT_C, 75);
        Wait(TURN_TIME);
      }
   }
Float(OUT_AC);
}