Re: pull int state from while loop


in order set value in 1 function (setup) , use in function (loop), value needs have global scope. move declaration , initial valuation before setup. then, in setup, see if button being pressed, , change value of variable if is.

don't hate when original poster pulls original question.

it's problem pages in magazines print answers. favourite comedy show round horn 60's.

answer:-
dear worried hownslow,  many men develop strange habits in old age, until have wait. next time suggest lid on , stop sugar getting on place.


Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > Re: pull int state from while loop


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