Skip to content

Commit 4ddd4a4

Browse files
committed
Reference getting started guide in all examples.
1 parent 5f247d5 commit 4ddd4a4

10 files changed

Lines changed: 31 additions & 1 deletion

File tree

examples/eventHandling/eventHandling.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
* 3 then we raise an event. This is a polled event meaning that we rely on task manager polling to "roll the dice".
44
* Further, there is a basic interrupt on a selected pin that is not marshalled by task manager, instead it raises
55
* an event.
6+
*
7+
* There is a getting started guide including video available:
8+
* https://www.thecoderscorner.com/products/arduino-libraries/taskmanager-io/
69
*/
710

811
#include <TaskManagerIO.h>

examples/halloween/halloween.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
* This program just requires 4 LEDs that are attached to PWM capable pins with suitable resistors, if you use an Uno,
66
* or other 5V board that would be around 330R. The LEDs randomly flash using task manager to schedule at random
77
* intervals. Tested in my pumpkin and works fairly well. Enjoy!
8+
*
9+
* There is a getting started guide including video available:
10+
* https://www.thecoderscorner.com/products/arduino-libraries/taskmanager-io/
811
*/
912
#include <TaskManagerIO.h>
1013

examples/longSchedule/longSchedule.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
*
66
* You cannot create schedules over 60 minutes using the scheduleFixedRate / scheduleOnce functions, instead you use
77
* the procedure below.
8+
*
9+
* There is a getting started guide including video available:
10+
* https://www.thecoderscorner.com/products/arduino-libraries/taskmanager-io/
811
*/
912

1013
#include <TaskManagerIO.h>

examples/marshalInterrupt/marshalInterrupt.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
* NOTE: This means that there is slight latency on your code being triggered, and it should not be used for anything
88
* that is even remotely time critical. For time critical items, do the work that must be done immediately in a direct
99
* ISR, then trigger task manager using an event. Never add a task directly in a raw ISR.
10+
*
11+
* There is a getting started guide including video available:
12+
* https://www.thecoderscorner.com/products/arduino-libraries/taskmanager-io/
1013
*/
1114

1215
#include <TaskManagerIO.h>

examples/mbed5NonRtos/mbedExample.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
// It demonstrates raising a few tasks for scheduling and an interrupt based event.
44
// WARNING - I actually have not got a non RTOS board big enough to run this.
55
//
6+
// There is a getting started guide including video available:
7+
// https://www.thecoderscorner.com/products/arduino-libraries/taskmanager-io/
8+
//
69

710
#include <TaskManagerIO.h>
811

examples/mbedRtos/mbedExample.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
* between Arduino and mbed, so you can also look at the Arduino examples for inspiration too.
44
*
55
* This example shows advanced usage of taskManager covering scheduled execution, events, putting
6-
* events on the queue from anote
6+
* events on the queue from another thread
7+
*
8+
* There is a getting started guide including video available:
9+
* https://www.thecoderscorner.com/products/arduino-libraries/taskmanager-io/
710
*/
811

912
#include <mbed.h>

examples/reentrantLocking/reentrantLocking.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Spin Locking example, not a heavily used task manager construct
2+
//
3+
// There is a getting started guide including video available:
4+
// https://www.thecoderscorner.com/products/arduino-libraries/taskmanager-io/
15

26
#include <TaskManagerIO.h>
37
#include <SimpleSpinLock.h>

examples/simpleTasks/simpleTasks.ino

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
* that repeat at a given interval, and tasks that are executed as soon as possible
77
* by task manager. We also show how to cancel a running task.
88
*
9+
* There is a getting started guide including video available:
10+
* https://www.thecoderscorner.com/products/arduino-libraries/taskmanager-io/
911
*/
1012

1113
// To use task manager we must include the library

examples/taskManagement/taskManagement.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ To test the interrupt support, wire a switch to pin 2 with pull up/down. Each ch
1111
will cause an interrupt.
1212
1313
Written by Dave Cherry of TheCodersCorner.com in 2017
14+
15+
There is a getting started guide including video available:
16+
https://www.thecoderscorner.com/products/arduino-libraries/taskmanager-io/
1417
*/
1518

1619
#include <Arduino.h>

examples/tasksUsingExecutable/tasksUsingExecutable.ino

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
* state between calls much easier and is still almost as simple to use with task manager as before.
55
* It has a small RAM impact (8 bytes per vtable) on AVR boards because of their memory layout.
66
* However, it has negligible impact on most 32 boards.
7+
*
8+
* There is a getting started guide including video available:
9+
* https://www.thecoderscorner.com/products/arduino-libraries/taskmanager-io/
710
*/
811

912
#include <TaskManagerIO.h>

0 commit comments

Comments
 (0)