Skip to content

Commit 6d23a92

Browse files
committed
Merge pull request #2 from ivanseidel/1.5.x-format
Compatible with 1.5.x specification
2 parents 567f8c0 + 8759942 commit 6d23a92

File tree

4 files changed

+44
-10
lines changed

4 files changed

+44
-10
lines changed

README.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
![ArduinoThread Logo](https://raw.githubusercontent.com/ivanseidel/ArduinoThread/master/images/ArduinoThread.png)
1+
![ArduinoThread Logo](https://raw.githubusercontent.com/ivanseidel/ArduinoThread/master/extras/ArduinoThread.png)
22

3-
No, Arduino does not support "REAL" parallel tasks (aka Threads), but we can make use of this Library to
3+
Arduino does not support "REAL" parallel tasks (aka Threads), but we can make use of this Library to
44
improve our code, and easily schedule tasks with fixed (or variable) time between runs.
55

66
This Library helps to maintain organized and to facilitate the use of multiple tasks. We can
@@ -14,6 +14,7 @@ filtering inside it, leaving the main loop, just for logic and "cool" part.
1414
1. "Download":https://github.com/ivanseidel/ArduinoThread/archive/master.zip the Master branch from gitHub.
1515
2. Unzip and modify the Folder name to "ArduinoThread" (Remove the '-master')
1616
3. Paste the modified folder on your Library folder (On your `Libraries` folder inside Sketchbooks or Arduino software).
17+
4. Restart Arduino IDE
1718

1819
**If you are here, because another Library requires this class, just don't waste time reading bellow. Install and ready.**
1920

@@ -169,11 +170,4 @@ interrupts(); // This will enable the interrupts egain. DO NOT FORGET!
169170
- `Thread* ThreadController::get(int index)` - Returns the Thread on the position `index`.
170171

171172
### You don't need to know:
172-
- Nothing, yet ;)
173-
174-
## Version History
175-
176-
* `(Jun/2014): New Example: ControllerWithTimer`
177-
* `1.0 (2013-05-11): Initial release.`
178-
179-
![ArduinoThread](https://d2weczhvl823v0.cloudfront.net/ivanseidel/ArduinoThread/trend.png)
173+
- Nothing, yet ;)
File renamed without changes.

keywords.txt

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#######################################
2+
# Syntax Coloring
3+
#######################################
4+
5+
#######################################
6+
# Datatypes (KEYWORD1)
7+
#######################################
8+
9+
Thread KEYWORD1
10+
ThreadController KEYWORD1
11+
12+
#######################################
13+
# Methods and Functions (KEYWORD2)
14+
#######################################
15+
16+
runned KEYWORD2
17+
setInterval KEYWORD2
18+
shouldRun KEYWORD2
19+
onRun KEYWORD2
20+
run KEYWORD2
21+
22+
# Specific of ThreadController
23+
add KEYWORD2
24+
remove KEYWORD2
25+
clear KEYWORD2
26+
size KEYWORD2
27+
get KEYWORD2
28+
29+
#######################################
30+
# Constants (LITERAL1)
31+
#######################################

library.properties

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name=ArduinoThread
2+
version=2.0
3+
author=Ivan Seidel <[email protected]>
4+
maintainer=Ivan Seidel <[email protected]>
5+
sentence=A simple way to run Threads on Arduino
6+
paragraph=This Library helps to maintain organized and to facilitate the use of multiple tasks. We can use Timers Interrupts, and make it really powerfull, running "pseudo-background" tasks on the rug.
7+
category=Timing
8+
url=https://github.com/ivanseidel/ArduinoThread
9+
architectures=*

0 commit comments

Comments
 (0)