delay problem


hey guys count stops press button once because of delay in relaypin (because reaches val = 1), there way count keeps going  without delays while  mantaining delay in relaypin?

thanks

http://pastebin.com/k0vzg32f

check out old blink without delay example.

if call delay means stops length of time.  no code can run during that.  if want other things happen, absolutely cannot use delay function. 


Arduino Forum > Using Arduino > Programming Questions > delay problem


arduino

Comments