Skip to content

Commit

Permalink
Compatible with 1.5.x specification
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanseidel committed Apr 8, 2015
1 parent 743fc5f commit 8759942
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 10 deletions.
14 changes: 4 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
![ArduinoThread Logo](https://raw.githubusercontent.com/ivanseidel/ArduinoThread/master/images/ArduinoThread.png)
![ArduinoThread Logo](https://raw.githubusercontent.com/ivanseidel/ArduinoThread/master/extras/ArduinoThread.png)

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

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

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

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

### You don't need to know:
- Nothing, yet ;)

## Version History

* `(Jun/2014): New Example: ControllerWithTimer`
* `1.0 (2013-05-11): Initial release.`

![ArduinoThread](https://d2weczhvl823v0.cloudfront.net/ivanseidel/ArduinoThread/trend.png)
- Nothing, yet ;)
File renamed without changes
31 changes: 31 additions & 0 deletions keywords.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#######################################
# Syntax Coloring
#######################################

#######################################
# Datatypes (KEYWORD1)
#######################################

Thread KEYWORD1
ThreadController KEYWORD1

#######################################
# Methods and Functions (KEYWORD2)
#######################################

runned KEYWORD2
setInterval KEYWORD2
shouldRun KEYWORD2
onRun KEYWORD2
run KEYWORD2

# Specific of ThreadController
add KEYWORD2
remove KEYWORD2
clear KEYWORD2
size KEYWORD2
get KEYWORD2

#######################################
# Constants (LITERAL1)
#######################################
9 changes: 9 additions & 0 deletions library.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name=ArduinoThread
version=2.0
author=Ivan Seidel <[email protected]>
maintainer=Ivan Seidel <[email protected]>
sentence=A simple way to run Threads on Arduino
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.
category=Timing
url=https://github.com/ivanseidel/ArduinoThread
architectures=*

0 comments on commit 8759942

Please sign in to comment.