Test tones.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

/*
  nasledovny program nam nieco zahra
*/
#include "NXCDefs.h"



task main()
{
/*
int c= 523;
int d= 587;
int e= 659;
int f= 698;
int g= 784;
int a= 880;
int h= 988;
int c2= 1046;
*/
int i;

while(1)
{


        for(i=1;i<10;i++)
        {
        PlayTone(i*400,1000);
        Wait(1000);
        
        }
}
}