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...

i see no loop


Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > weird problem


arduino

Comments

Popular posts from this blog

CAN'T INSTALL MAMBELFISH 1.5 FROM DIRECTORY - Joomla! Forum - community, help and support

error: expected initializer before 'void'

CPU load monitoring using GPIO and leds - Raspberry Pi Forums