-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is the timer running? #25
Comments
Not right now as I put these flags under private.
boolean Reset, Stop, Paused;
You can change them to public if you want or just add a new function.
- Andrew
…Sent from my iPhone
On Mar 15, 2019, at 5:12 PM, Phillip Toone ***@***.***> wrote:
Is there a way to query the state of the timer to see if it is running. I use a global boolean variable called isTimerRunning that I set to true or false every time I pause or resume the timer. It seems to me that there would be a method I can use to request the state of the timer. I've looked but haven't been able to find anything in the examples codes or in the keywords.txt file.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
The following function give me what I was looking for:
I would like to add this code to this public library but I am not sure the best way to do this. Should I fork the project, make the changes, and push the changes back into master. Sorry if this is a stupid question but I am a novice with github and would like to learn. Thanks. |
I’ll add it.
- Andrew
…Sent from my iPhone
On Mar 18, 2019, at 2:38 PM, Phillip Toone ***@***.***> wrote:
The following function give me what I was looking for:
boolean isTimerRunning() // output true if timer is running.
{
if(Paused)
return false;
else
return true;
}
I would like to add this code to this public library but I am not sure the best way to do this. Should I fork the project, make the changes, and push the changes back into master. Sorry if this is a stupid question but I am a novice with github and would like to learn. Thanks.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there a way to query the state of the timer to see if it is running. I use a global boolean variable called isTimerRunning that I set to true or false every time I pause or resume the timer. It seems to me that there would be a method I can use to request the state of the timer. I've looked but haven't been able to find anything in the examples codes or in the keywords.txt file.
The text was updated successfully, but these errors were encountered: