Skip to main content
17 events
when toggle format what by license comment
May 25, 2018 at 12:05 answer added Juraj timeline score: 0
May 25, 2018 at 8:31 answer added Edgar Bonet timeline score: 1
May 24, 2018 at 22:08 answer added chrisl timeline score: 1
S May 24, 2018 at 16:43 history edited gre_gor CC BY-SA 4.0
deleted 14 characters in body; edited title; edited title
S May 24, 2018 at 16:43 history suggested jsotola CC BY-SA 4.0
reformatted text and code
May 24, 2018 at 16:18 comment added jsotola you have two identical if statements one after another .... merge the contents into one
May 24, 2018 at 16:16 comment added jsotola you could also use a state variable and call the state functions depending on its value .... use the interrupt to set the state variable to a specific value
May 24, 2018 at 16:14 comment added jsotola set a flag variable in the interrupt service function ... check the flag at the beginning of each state function and skip digitalWrite() and delay() commands if the flag is set
May 24, 2018 at 16:08 review Suggested edits
S May 24, 2018 at 16:43
May 24, 2018 at 16:02 comment added Waranga Ratnayake i tried your one but it completely reset the arduino , but that's fine for the reset button .any way ,i can interrupt the program while running and change to any other function of the program . such as when we press the reset button it goes to reset, if we press a push button it goes to some any other function.
S May 24, 2018 at 15:53 history edited Waranga Ratnayake CC BY-SA 4.0
added 96 characters in body
May 24, 2018 at 15:50 comment added Chad G The arduino has a reset pin, pull it to ground with switch,and it will reset from the beginning.
May 24, 2018 at 15:49 review Suggested edits
S May 24, 2018 at 15:53
May 24, 2018 at 15:49 history edited Waranga Ratnayake CC BY-SA 4.0
added 96 characters in body
May 24, 2018 at 15:45 history edited Waranga Ratnayake CC BY-SA 4.0
added 96 characters in body
May 24, 2018 at 15:45 review First posts
May 24, 2018 at 18:42
May 24, 2018 at 15:41 history asked Waranga Ratnayake CC BY-SA 4.0