[SOLVED] Menu input not working

menu input not working here’s the code…
http://pastebin.com/knGEdpQr

@SlaveDuino format the code, explain what is not working i.e. what result are you getting and what was you expecting.

1 Like

i was expecting the servo to move and eject marbles @Costas

If you had studied the sketch extract I gave you earlier you would know what the problem is.

“9” not 9.

1 Like

ISO C++ forbids comparison between pointer and integer [-fpermissive]
@costas

edit does not work 9 works not “9”

Lose this from loop()

  lcd.clear();
  lcd.print(0,0,"Thinking...");
  lcd.clear();
  lcd.print(0,0,riddleUP);
  lcd.print(0,1,riddleDOWN);

Use this:

if (String("9") == param.asStr()) {

}
1 Like

still does not work even worse lcd display issue :sob:

Assuming your LCD is working try this:

BLYNK_WRITE(V1)
{
  if (String("9") == param.asStr()) {
    lcd.print(0,0,"Look it works");
    myservo.write(0);
    myservo.write(180);    
  }
  else{
    lcd.print(0,0,"wrong");
  }
}
1 Like

not even riddle printing on lcd nothing happening :dizzy_face:
@Costas
http://pastebin.com/bD0NDQu3

I hope you have moved that nonsense from loop().

http://pastebin.com/jhEVMcc4
nothing hapenning still the same :confounded:
@Costas

magically started after 10 minutes :astonished::smile:
@costas

1 Like