From d72ac9957a9eb0e5a627ff5be07036b9f5a48499 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nathana=C3=ABl=20L=C3=A9caud=C3=A9?= Date: Sat, 4 Oct 2014 18:09:39 -0400 Subject: [PATCH] License in examples --- examples/ArtnetNeoPixel/ArtnetNeoPixel.ino | 6 ++++++ examples/ArtnetNeoPixelSD/ArtnetNeoPixelSD.ino | 7 +++++++ examples/ArtnetOctoWS2811/ArtnetOctoWS2811.ino | 6 ++++++ examples/ArtnetReceive/ArtnetReceive.ino | 6 ++++++ examples/ArtnetReceiveCallback/ArtnetReceiveCallback.ino | 5 +++++ 5 files changed, 30 insertions(+) diff --git a/examples/ArtnetNeoPixel/ArtnetNeoPixel.ino b/examples/ArtnetNeoPixel/ArtnetNeoPixel.ino index 77d180c..8a6717c 100644 --- a/examples/ArtnetNeoPixel/ArtnetNeoPixel.ino +++ b/examples/ArtnetNeoPixel/ArtnetNeoPixel.ino @@ -1,3 +1,9 @@ +/* +This example will receive multiple universes via Artnet and control a strip of ws2811 leds via +Adafruit's NeoPixel library: https://github.com/adafruit/Adafruit_NeoPixel +This example may be copied under the terms of the MIT license, see the LICENSE file for details +*/ + #include #include #include diff --git a/examples/ArtnetNeoPixelSD/ArtnetNeoPixelSD.ino b/examples/ArtnetNeoPixelSD/ArtnetNeoPixelSD.ino index 0172240..9a2331e 100644 --- a/examples/ArtnetNeoPixelSD/ArtnetNeoPixelSD.ino +++ b/examples/ArtnetNeoPixelSD/ArtnetNeoPixelSD.ino @@ -1,3 +1,10 @@ +/* +Same as ArtnetNeoPixel.ino but with controls to record and playback sequences from an SD card. +To record, send 255 to the first channel of universe 14. To stop, send 0 and to playback send 127. +The limit of leds seems to be around 450 to get 44 fps. The playback routine is not optimzed yet. +This example may be copied under the terms of the MIT license, see the LICENSE file for details +*/ + #include #include #include diff --git a/examples/ArtnetOctoWS2811/ArtnetOctoWS2811.ino b/examples/ArtnetOctoWS2811/ArtnetOctoWS2811.ino index 13f637f..e68f7c4 100644 --- a/examples/ArtnetOctoWS2811/ArtnetOctoWS2811.ino +++ b/examples/ArtnetOctoWS2811/ArtnetOctoWS2811.ino @@ -1,3 +1,9 @@ +/* +This example will receive multiple universes via Artnet and control a strip of ws2811 leds via +Paul Stoffregen's excellent OctoWS2811 library: https://www.pjrc.com/teensy/td_libs_OctoWS2811.html +This example may be copied under the terms of the MIT license, see the LICENSE file for details +*/ + #include #include #include diff --git a/examples/ArtnetReceive/ArtnetReceive.ino b/examples/ArtnetReceive/ArtnetReceive.ino index 37f0aae..35c37e1 100644 --- a/examples/ArtnetReceive/ArtnetReceive.ino +++ b/examples/ArtnetReceive/ArtnetReceive.ino @@ -1,3 +1,9 @@ +/* +This is a basic example that will print out the header and the content of an ArtDmx packet. +This example uses the read() function and the different getter functions to read the data. +This example may be copied under the terms of the MIT license, see the LICENSE file for details +*/ + #include #include #include diff --git a/examples/ArtnetReceiveCallback/ArtnetReceiveCallback.ino b/examples/ArtnetReceiveCallback/ArtnetReceiveCallback.ino index 05d4fba..a48da56 100644 --- a/examples/ArtnetReceiveCallback/ArtnetReceiveCallback.ino +++ b/examples/ArtnetReceiveCallback/ArtnetReceiveCallback.ino @@ -1,3 +1,8 @@ +/* +This is similar to ArtnetReceive but uses a callback to read the data. +This example may be copied under the terms of the MIT license, see the LICENSE file for details +*/ + #include #include #include