Help! this is the error i keep getting, and i dont know why
also, how do use the code box post thing>?
long randNumber;
//Random number ebtween 1-11 guessing game
byte incomingByte;
void setup()
{
Serial.begin(9600);
//Starting Rules
Serial.println("Hello! Welcome to the Guessing Game!");
delay (1000);
Serial.println("RULES");
delay (1500);
Serial.println(" The Arduino will think of a number between 1 and 10");
delay (1500);
Serial.println(" Once it has done that, it will ask you to input the number within 10 seconds");
delay (1500);
Serial.println(" If you are correct, a win message will pop up");
delay (1500);
Serial.println(" If not, a Try Again message will appear");
delay (1500);
Serial.println(" Good Luck!");
delay (2000);
Serial.println(" You'll need it ....");
//End Rules
randomSeed(analogRead(0));
//Generates random seed
randNumber = random(10, 20);
// see if there's incoming serial data:
if (Serial.available() > 0) {
// read the oldest byte in the serial buffer:
incomingByte = Serial.read();
}
if (incomingByte == 'randNumber');
{ Serial.println("Yes, right Number!");
}
void loop(){
}