i think i dont know what im doing with the loop


i have momentary button start stopping of timer, on delay(1000);

the button isnt responsive. think due loop reading button press every 1 second. question how have button on own quicker loop?

i don't understand want code do, but
a( if want wait button press before continues, use like
  while(digitalread(buttonpin) == low)  {}

b( use interrupts.


Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > i think i dont know what im doing with the 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