![]() |
Forum Index : Microcontroller and PC projects : Need Help for TIMING (MMBASIC)
![]() ![]() |
|||||
Author | Message | ||||
Poppy![]() Guru ![]() Joined: 25/07/2019 Location: GermanyPosts: 486 |
"Bouncing" always reminds me of Sally and makes me [...] calling the Police: https://www.youtube.com/watch?v=vuWI9NX4g28 ![]() But You are right, this is a particular point I am currently thinking about. The speed does not matter, so this all can generally be slowed down. I think (and that confused me about using the timer) that each trigger should be received and processed separately and there should be a pause between each, probably pulling some flags and calling different subroutines. Edit: Forgot some "points" ![]() Edited 2020-01-14 21:51 by Poppy ![]() ![]() | ||||
Tinine Guru ![]() Joined: 30/03/2016 Location: United KingdomPosts: 1646 |
Could be as simple as: If ButtonPressed Then Pause 100 If ButtonPressed Then Endif Endif What you don't want in this non-critical application is to make it so finicky that you're stood in the pouring rain, stabbing away, trying to get the timing just right. |
||||
Poppy![]() Guru ![]() Joined: 25/07/2019 Location: GermanyPosts: 486 |
I think this is some kind of ambivalent, on the one hand the "code" to push should be easy, so therefore the rhythm of something common (SOS or something like Darth Vaders Imperial March), but on the other hand you are right, if the timing is too finicky (nice word, I didnīt know before in english ![]() ![]() ![]() | ||||
![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |