Test tones.nxc

From RoboWiki
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);
        
        }
}
}