Hello!
I got this error on the " if (Eyecolor==1)" line while trying to write this screen. what do I need to do to fix it?
*Shadowcolor & Eyecolor is two bytes i have defined before the setup section, and they are being used in another function.
thanks in advance!
void screen8(){
ch= 0;
lcd.clrscr(CYAN);
whichColor();
lcd.gotoxy(60, 5);
lcd.setColor(BLACK, CYAN);
lcd.setFont(3);
lcd.println("Match percentage is:");
lcd.fillRoundRect(40, 20, 290, 50, 5, MAGENTA);
lcd.drawRoundRect(40, 20, 290 , 50, 5, BLACK);
if (Shadowcolor==1){
 if (Eyecolor==1){ // *error is pointing this line*
  lcd.gotoxy(33, 25);
lcd.setColor(BLACK, MAGENTA);
lcd.setFont(2);
lcd.println("30% - you sould try");
lcd.gotoxy(45, 40);
lcd.setColor(BLACK, MAGENTA);
lcd.setFont(2);
lcd.println("another color");
 }
}