Difference between revisions of "Test tones.nxc"

From RoboWiki
Jump to: navigation, search
 
m
 
Line 1: Line 1:
[[Krúžok robotiky]]
+
[[Krúžok Robotiky]]
  
 
  /*
 
  /*

Latest revision as of 10:25, 26 March 2008

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