Canciones 2011 de moda
Down on
Grenade
Woohoo
Just the way you are
Show me how you burlesque
S&m
Whos that chick
Born this way
Alors on danse
My first kiss
Won’t stop
Hold it againt me
Onthe floor
Apologize
Like a g6
Candy shop
Who says
Et
Tonight
Where them girls at
Elevator
Just can’t get enough
Hey baby
Who that girl
Raise your glass
Billionaire
So what
Fuckin perfect#pragma config(Sensor, S2, ojos, sensorSONAR)
#pragma config(Sensor, S3, boton, sensorTouch)
//*!!Code automatically generated by 'ROBOTC' configuration wizard!!*//
task main()
{
int negro, blanco, rojo;
while(SensorValue(boton)==0)
{nxtDisplayStringAt(3,20,"Negro");}
negro =SensorValue(luz);
PlaySound(soundBeepBeep);wait1Msec(1500);
while(SensorValue(boton)==0)
{nxtDisplayStringAt(3,20,"Blanco");}
blanco =SensorValue(luz);
PlaySound(soundBeepBeep);
wait1Msec(1500);
while(SensorValue(boton)==0){nxtDisplayStringAt(3,20,"Rojo");}
rojo =SensorValue(luz);
PlaySound(soundBeepBeep);
wait1Msec(1500);
while(SensorValue(boton)==0)
{nxtDisplayStringAt(3,20,"Empezar");}
PlaySound(soundBeepBeep);
wait1Msec(1500);while(!(SensorValue(luz)negro-5))
{if((SensorValue(luz)rojo-2))
{motor[motorB]=30;
motor[motorC]=60;
wait1Msec(50);}
if((SensorValue(luz)>rojo+2)){motor[motorB]=60;
motor[motorC]=30;
wait1Msec(50);}}
motor[motorB]=30;
motor[motorC]=30;
wait1Msec(500);
while(!(SensorValue(luz)negro-5))
{if((SensorValue(luz)rojo-2)){motor[motorB]=30;
motor[motorC]=60;
wait1Msec(50);}
if((SensorValue(luz)>rojo+2))
{motor[motorB]=60;
motor[motorC]=30;
wait1Msec(50);}}
motor[motorB]=30;motor[motorC]=30;
wait1Msec(500);
while(!(SensorValue(luz)negro-5))
{if((SensorValue(luz)rojo-2))
{motor[motorB]=30;
motor[motorC]=60;
wait1Msec(50);}
if((SensorValue(luz)>rojo+2))...
Regístrate para leer el documento completo.