Skip to content

Commit

Permalink
Modified header comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanseidel committed May 11, 2013
1 parent 0fb7225 commit a41cf82
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Thread.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*
Thread.h - An runnable object
Contains information about the running Thread, such as:
Delay between calls,
If it should be runned,
Thread is responsable for holding the "action" for something,
also, it responds if it "should" or "should not" run, based on
the current time;
ThreadController is an extended class of Thread, since you can include
For instructions, go to https://github.com/ivanseidel/ArduinoTimer
Created by Ivan Seidel Gomes, March, 2013.
Released into the public domain.
Expand Down Expand Up @@ -40,7 +40,7 @@ class Thread{
Thread(void (*callback)(void) = NULL, long _interval = 0);

// Set the desired interval for calls, and update _cached_next_run
Thread setInterval(long _interval);
virtual Thread setInterval(long _interval);

// Return if the Thread should be runned or not
virtual bool shouldRun(long time = -1);
Expand Down
4 changes: 3 additions & 1 deletion ThreadController.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
Basicaly, what it does is to keep track of current Threads and run when
necessary.
ThreadController is an extended class of Thread, since you can include
ThreadController is an extended class of Thread, because of that,
it allows you to add a ThreadController inside another ThreadController...
For instructions, go to https://github.com/ivanseidel/ArduinoTimer
Created by Ivan Seidel Gomes, March, 2013.
Released into the public domain.
Expand Down

0 comments on commit a41cf82

Please sign in to comment.