Square.nxc

From RoboWiki
Revision as of 10:25, 26 March 2008 by Palo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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);
}