diff --git a/hardware/arduino/sam/libraries/Scheduler/examples/MultipleBlinks/MultipleBlinks.ino b/libraries/Scheduler/examples/MultipleBlinks/MultipleBlinks.ino similarity index 100% rename from hardware/arduino/sam/libraries/Scheduler/examples/MultipleBlinks/MultipleBlinks.ino rename to libraries/Scheduler/examples/MultipleBlinks/MultipleBlinks.ino diff --git a/hardware/arduino/sam/libraries/Scheduler/keywords.txt b/libraries/Scheduler/keywords.txt similarity index 100% rename from hardware/arduino/sam/libraries/Scheduler/keywords.txt rename to libraries/Scheduler/keywords.txt diff --git a/libraries/Scheduler/library.properties b/libraries/Scheduler/library.properties new file mode 100644 index 000000000..cee3f9ec3 --- /dev/null +++ b/libraries/Scheduler/library.properties @@ -0,0 +1,10 @@ +name=Scheduler +author=The Android Open Source Project +email=info@arduino.cc +sentence=The Scheduler library enables the Arduino Due to run multiple functions at the same time. This allows tasks to happen without interrupting each other. +paragraph=The Scheduler library enables the Arduino Due to run multiple functions at the same time. This allows tasks to happen without interrupting each other.
This is a cooperative scheduler in that the CPU switches from one task to another. The library includes methods for passing control between tasks. +url=http://arduino.cc/en/Reference/Scheduler +architectures=* +version=0.4 +dependencies= none +core-dependencies=arduino (>=1.5.0) diff --git a/hardware/arduino/sam/libraries/Scheduler/Scheduler.cpp b/libraries/Scheduler/src/Scheduler.cpp similarity index 100% rename from hardware/arduino/sam/libraries/Scheduler/Scheduler.cpp rename to libraries/Scheduler/src/Scheduler.cpp diff --git a/hardware/arduino/sam/libraries/Scheduler/Scheduler.h b/libraries/Scheduler/src/Scheduler.h similarity index 100% rename from hardware/arduino/sam/libraries/Scheduler/Scheduler.h rename to libraries/Scheduler/src/Scheduler.h