weird problem
i m not sure if me or wad ya m having weird problem... code, part of mean...
if (ledstate==high)
{
char key = keypad.getkey();
powerup();
}
the problem in loop powerup funtion being called continuosly, getkey function doesnt @ happen...
and need powerup(); function called once when ledstate becomes high...
i m not sure how handle this...
if of help, getkey function on .cpp file part of library... because of that?
but thing is, when take out powerup(); function if loop, getkey(); function happens.
i dont understand whats problem... please help... thank you...
if (ledstate==high)
{
char key = keypad.getkey();
powerup();
}
the problem in loop powerup funtion being called continuosly, getkey function doesnt @ happen...
and need powerup(); function called once when ledstate becomes high...
i m not sure how handle this...
if of help, getkey function on .cpp file part of library... because of that?
but thing is, when take out powerup(); function if loop, getkey(); function happens.
i dont understand whats problem... please help... thank you...
i see no loop
Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > weird problem
arduino
Comments
Post a Comment