Kaynağa Gözat

Updated library to be arduino 1.5 comliant

* Included library.properties file
* Updated version numbers to be semver compliant
* Tagged lib files with the version number
Anatoli Arkhipenko 10 yıl önce
ebeveyn
işleme
332d0cf661

+ 6 - 5
README

@@ -1,5 +1,5 @@
 Task Scheduler – cooperative multitasking for Arduino microcontrollers
-Version 1.6: 2015-09-22
+Version 1.6.0: 2015-09-22
  
  
 REQUIREMENT:
@@ -37,17 +37,18 @@ Changelog:
                  3. Delay is based on the min anticipated wait until next task _AND_ the runtime of execute function itself.
     2015-05-11 - added  restart() and restartDelayed() functions to restart tasks which are on hold after running all iterations
     2015-05-19 - completely removed  delay from the scheduler since there are no power saving there. using 1 ms sleep instead
-v1.41:
+v1.4.1:
     2015-09-15 - more careful placement of AVR-specific includes for sleep functions (compatibility with DUE)
                          sleep on idle run is no longer a default and should be explicitly compiled with _TASK_SLEEP_ON_IDLE_RUN defined
-v1.50:
+v1.5.0:
     2015-09-20 - access to currently executing task (for callback functions)
     2015-09-20 - pass scheduler as a parameter to the task constructor to append the task to the end of the chain
     2015-09-20 - option to create a task already enabled
-v1.51:
+v1.5.1:
     2015-09-21 - bug fix: incorrect handling of active tasks via set() and setIterations(). 
 		 		 Thanks to Hannes Morgenstern for catching this one
-v1.6:
+v1.6.0:
     2015-09-22 - revert back to having all tasks disable on last iteration.
     2015-09-22 - deprecated disableOnLastIteration method as a result
+    2015-10-01 - made version numbers semver compliant (documentation only)
 

BIN
documentation/TaskScheduler.doc


BIN
extras/TaskScheduler.doc


+ 2 - 2
documentation/TaskScheduler.htm → extras/TaskScheduler.html

@@ -24,8 +24,8 @@
 <BODY LANG="en-US" TEXT="#000000" DIR="LTR">
 <P CLASS="western" STYLE="margin-bottom: 0in"><B>Task Scheduler –
 cooperative multitasking for Arduino microcontrollers</B></P>
-<P CLASS="western" STYLE="margin-bottom: 0in"><B>Version 1.6:
-2015-09-22</B></P>
+<P CLASS="western" STYLE="margin-bottom: 0in"><B>Version 1.6.0:
+2015-10-01</B></P>
 <P CLASS="western" STYLE="margin-bottom: 0in"><BR>
 </P>
 <P CLASS="western" STYLE="margin-bottom: 0in"><B>REQUIREMENT</B>:</P>

+ 9 - 0
library.properties

@@ -0,0 +1,9 @@
+name=TaskScheduler
+version=1.6.0
+author=Anatoli Arkhipenko <arkhipenko@hotmail.com>
+maintainer=Anatoli Arkhipenko <arkhipenko@hotmail.com>
+sentence=A light-weight cooperative multitasking library for arduino microcontrollers.
+paragraph=Enables developers to achieve pseudo multi-tasking. The library is NOT pre-emptive, and as such requires cooperative programming to be used; does NOT use any of the timers therefore does not affect PWM pins.
+category=Schedulers
+url=https://github.com/arkhipenko/TaskScheduler.git
+architectures=*

+ 1 - 1
TaskScheduler.cpp → src/TaskScheduler.cpp

@@ -1,4 +1,4 @@
-// Cooperative multitasking library for Arduino version 1.6
+// Cooperative multitasking library for Arduino version 1.6.0
 // Copyright (c) 2015 Anatoli Arkhipenko
 //
 

+ 6 - 5
TaskScheduler.h → src/TaskScheduler.h

@@ -1,4 +1,4 @@
-// Cooperative multitasking library for Arduino version 1.6
+// Cooperative multitasking library for Arduino version 1.6.0
 // Copyright (c) 2015 Anatoli Arkhipenko
 //
 // Changelog:
@@ -10,20 +10,21 @@
 //                  3. Delay is based on the min anticipated wait until next task _AND_ the runtime of execute function itself.
 //     2015-05-11 - added  restart() and restartDelayed() functions to restart tasks which are on hold after running all iterations
 //     2015-05-19 - completely removed  delay from the scheduler since there are no power saving there. using 1 ms sleep instead
-// v1.41:
+// v1.4.1:
 //     2015-09-15 - more careful placement of AVR-specific includes for sleep functions (compatibility with DUE)
 //                          sleep on idle run is no longer a default and should be explicitly compiled with _TASK_SLEEP_ON_IDLE_RUN defined
-// v1.50:
+// v1.5.0:
 //	   2015-09-20 - access to currently executing task (for callback functions)
 //	   2015-09-20 - pass scheduler as a parameter to the task constructor to append the task to the end of the chain
 //     2015-09-20 - option to create a task already enabled
-// v1.51:
+// v1.5.1:
 //	   2015-09-21 - bug fix: incorrect handling of active tasks via set() and setIterations(). 
 //					Thanks to Hannes Morgenstern for catching this one
-// v1.6:
+// v1.6.0:
 //	   2015-09-22 - revert back to having all tasks disable on last iteration.
 //	   2015-09-22 - deprecated disableOnLastIteration method as a result
 //	   2015-09-22 - created a separate branch 'disable-on-last-iteration' for this
+//	   2015-10-01 - made version numbers semver compliant (documentation only)