#pragma config(Sensor, S1,     zvukovy,        sensorSoundDB)
//*!!Code automatically generated by 'ROBOTC' configuration wizard               !!*//

task main()
{

while (true)
{
	eraseDisplay();

	int x = 0;
	int zvuk = 0;

	while (x<=100)
	{
		x++;
		zvuk = SensorValue(zvukovy) / 2;
		nxtDrawLine(x,zvuk,x,0);
		wait1Msec(20);
	}
}
}
