Timeline for Control time without delay() Arduino
Current License: CC BY-SA 3.0
13 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 21, 2017 at 21:31 | history | tweeted | twitter.com/StackArduino/status/834153527731748865 | ||
| Feb 19, 2017 at 15:21 | answer | added | dannyf | timeline score: 1 | |
| Feb 19, 2017 at 14:56 | answer | added | Enric Blanco | timeline score: 1 | |
| Feb 19, 2017 at 10:58 | comment | added | zuzu | Just got the whole thing working with if statement. Its very messy but its works like a charm. I did try to approach thet FSMachine method. But i think my brain just not good enough for it, LOL | |
| Feb 19, 2017 at 8:46 | comment | added | dandavis | you need a state machine with two states (unpressed, pressing). You also save a timestamp each time the state changes. You can compare the last change's timestamp with the system time to determine if it's time to move to the next state. "unpressed" changes to "pressing" upon a button press (if state is unpressed). "pressing" changes to "unpressed" if it's been 1000ms since the last change AND the button is not pressed. | |
| Feb 19, 2017 at 6:59 | comment | added | Nick Gammon♦ | Also posted on Arduino Forum | |
| Feb 19, 2017 at 4:20 | comment | added | zuzu | Thanks for the link. Ill have a look and will try my best. Ha:) | |
| Feb 19, 2017 at 4:03 | comment | added | Nick Gammon♦ | This has been asked many times, both here and on the Arduino Forum. For one treatment (by me) see this. | |
| Feb 19, 2017 at 3:54 | history | edited | zuzu | CC BY-SA 3.0 |
edited body
|
| Feb 19, 2017 at 3:51 | history | migrated | from electronics.stackexchange.com (revisions) | ||
| Feb 19, 2017 at 3:09 | answer | added | Bradman175 | timeline score: 1 | |
| Feb 19, 2017 at 3:03 | comment | added | Bradman175 | Did... you... just misspell else as esle!? | |
| Feb 19, 2017 at 2:27 | history | asked | zuzu | CC BY-SA 3.0 |