From ac23c4a4e1481dd8414b51b7246e4931bdec89e1 Mon Sep 17 00:00:00 2001 From: dherrada Date: Tue, 22 Feb 2022 15:13:49 -0500 Subject: [PATCH] Added SPDX to 30 more files - spdx-17 --- ANO_encoder_demo/ANO_encoder_demo.ino | 4 ++++ Adafruit_IoT_Camera_EyeFi/Adafruit_EyeFi/Adafruit_EyeFi.ino | 4 ++++ Bluetooth_Luminaries/code.py | 6 ++++++ CircuitPython_RPN_Calculator/code.py | 4 ++++ CircuitPython_Touch_Deck/touch_deck_layers.py | 4 ++++ Circuit_Playground_Sailor_Moon_Star_Locket/code.py | 4 ++++ .../213_tricolor_eink_fw_badge/code.py | 4 ++++ .../213_tricolor_eink_fw_text/code.py | 4 ++++ .../27_tricolor_eink_shield_badge/code.py | 4 ++++ .../27_tricolor_eink_shield_text/code.py | 4 ++++ GP2Y1014AU0F_demos/GP2Y1014AU/GP2Y1014AU.ino | 4 ++++ GemmaM0_Band_Jacket/DiscoBandCamp/DiscoBandCamp.ino | 4 ++++ GemmaM0_Band_Jacket/DiscoBandCamp/XYmap.h | 4 ++++ GemmaM0_Band_Jacket/DiscoBandCamp/buttons.h | 4 ++++ GemmaM0_Band_Jacket/DiscoBandCamp/effects.h | 4 ++++ GemmaM0_Band_Jacket/DiscoBandCamp/utils.h | 4 ++++ HalloWing_Jump_Scare_Trap/code.py | 4 ++++ MagTag_Flashcards/basic/code.py | 4 ++++ MagTag_Flashcards/chapters/code.py | 4 ++++ Magic_Wand/Magic_Wand.ino | 4 ++++ Make_It_Sense/buttons-neopixels/code.py | 4 ++++ Make_It_Sense/cpx-ir-decode-list/code.py | 4 ++++ Make_It_Sense/cpx-lib-light/code.py | 4 ++++ Make_It_Sense/cpx-lib-temp/code.py | 4 ++++ Make_It_Sense/light-plot/code.py | 4 ++++ PyGamer_Thermal_Camera/code.py | 4 ++++ PyGamer_Thermal_Camera/thermal_cam_config.py | 4 ++++ PyGamer_Thermal_Camera/thermal_cam_converters.py | 4 ++++ PyPortal_HaDSkulls/code.py | 4 ++++ RGB_Matrix_Protest_Sign/code.py | 4 ++++ 30 files changed, 122 insertions(+) diff --git a/ANO_encoder_demo/ANO_encoder_demo.ino b/ANO_encoder_demo/ANO_encoder_demo.ino index 2d47177ec..3135fb9c7 100644 --- a/ANO_encoder_demo/ANO_encoder_demo.ino +++ b/ANO_encoder_demo/ANO_encoder_demo.ino @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2021 Limor Fried for Adafruit Industries +// +// SPDX-License-Identifier: MIT + #include #include diff --git a/Adafruit_IoT_Camera_EyeFi/Adafruit_EyeFi/Adafruit_EyeFi.ino b/Adafruit_IoT_Camera_EyeFi/Adafruit_EyeFi/Adafruit_EyeFi.ino index 410e2a45b..f53cb8eae 100644 --- a/Adafruit_IoT_Camera_EyeFi/Adafruit_EyeFi/Adafruit_EyeFi.ino +++ b/Adafruit_IoT_Camera_EyeFi/Adafruit_EyeFi/Adafruit_EyeFi.ino @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2019 Anne Barela for Adafruit Industries +// +// SPDX-License-Identifier: MIT + /* This Arduino sketch combines a serial JPEG camera, data logging shield and an Eye-Fi wireless SD card in order to provide remote monitoring. diff --git a/Bluetooth_Luminaries/code.py b/Bluetooth_Luminaries/code.py index b1c54eee3..c5550a822 100644 --- a/Bluetooth_Luminaries/code.py +++ b/Bluetooth_Luminaries/code.py @@ -1,3 +1,9 @@ +# SPDX-FileCopyrightText: 2019 Phillip Burgess for Adafruit Industries +# SPDX-FileCopyrightText: 2019 Dan Halbert for Adafruit Industries +# SPDX-FileCopyrightText: 2019 Erin St Blaine for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ FancyLED Palette and Color Picker Control with BlueFruit App Code by Phil Burgess, Dan Halbert & Erin St Blaine for Adafruit Industries """ diff --git a/CircuitPython_RPN_Calculator/code.py b/CircuitPython_RPN_Calculator/code.py index 7f5de552f..f90f7046f 100644 --- a/CircuitPython_RPN_Calculator/code.py +++ b/CircuitPython_RPN_Calculator/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2020 Jeff Epler for Adafruit Industries +# +# SPDX-License-Identifier: MIT + # pylint: disable=redefined-outer-name,no-self-use,broad-except,try-except-raise,too-many-branches,too-many-statements,unused-import import gc diff --git a/CircuitPython_Touch_Deck/touch_deck_layers.py b/CircuitPython_Touch_Deck/touch_deck_layers.py index 15f2c8420..93e1422a6 100644 --- a/CircuitPython_Touch_Deck/touch_deck_layers.py +++ b/CircuitPython_Touch_Deck/touch_deck_layers.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 foamyguy for Adafruit Industries +# +# SPDX-License-Identifier: MIT + from adafruit_hid.keycode import Keycode from adafruit_hid.consumer_control_code import ConsumerControlCode diff --git a/Circuit_Playground_Sailor_Moon_Star_Locket/code.py b/Circuit_Playground_Sailor_Moon_Star_Locket/code.py index 579ad825a..fc759d8fc 100644 --- a/Circuit_Playground_Sailor_Moon_Star_Locket/code.py +++ b/Circuit_Playground_Sailor_Moon_Star_Locket/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Liz Clark for Adafruit Industries +# +# SPDX-License-Identifier: MIT + import time import displayio from adafruit_circuitplayground import cp diff --git a/EInk_CircuitPython_Quickstart/213_tricolor_eink_fw_badge/code.py b/EInk_CircuitPython_Quickstart/213_tricolor_eink_fw_badge/code.py index 8e8d0ac38..73916aff1 100644 --- a/EInk_CircuitPython_Quickstart/213_tricolor_eink_fw_badge/code.py +++ b/EInk_CircuitPython_Quickstart/213_tricolor_eink_fw_badge/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2019 Anne Barela for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ Simple badge script for Adafruit 2.13" 212x104 tri-color display Supported products: diff --git a/EInk_CircuitPython_Quickstart/213_tricolor_eink_fw_text/code.py b/EInk_CircuitPython_Quickstart/213_tricolor_eink_fw_text/code.py index 1aa4ae19a..5237c4aa4 100644 --- a/EInk_CircuitPython_Quickstart/213_tricolor_eink_fw_text/code.py +++ b/EInk_CircuitPython_Quickstart/213_tricolor_eink_fw_text/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2019 Anne Barela for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ Simple text script for Adafruit 2.13" 212x104 tri-color display Supported products: diff --git a/EInk_CircuitPython_Quickstart/27_tricolor_eink_shield_badge/code.py b/EInk_CircuitPython_Quickstart/27_tricolor_eink_shield_badge/code.py index f09221355..c2abd7569 100644 --- a/EInk_CircuitPython_Quickstart/27_tricolor_eink_shield_badge/code.py +++ b/EInk_CircuitPython_Quickstart/27_tricolor_eink_shield_badge/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2019 Anne Barela for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ Simple Badge script for a 2.7" 264x176 Tri-Color eInk display shield Supported products: diff --git a/EInk_CircuitPython_Quickstart/27_tricolor_eink_shield_text/code.py b/EInk_CircuitPython_Quickstart/27_tricolor_eink_shield_text/code.py index 7d735de2f..4605002e6 100644 --- a/EInk_CircuitPython_Quickstart/27_tricolor_eink_shield_text/code.py +++ b/EInk_CircuitPython_Quickstart/27_tricolor_eink_shield_text/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2019 Anne Barela for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ Simple text script for 2.7" 264x176 Tri-Color display shield Supported products: diff --git a/GP2Y1014AU0F_demos/GP2Y1014AU/GP2Y1014AU.ino b/GP2Y1014AU0F_demos/GP2Y1014AU/GP2Y1014AU.ino index cc4bfc645..e19b8d16b 100644 --- a/GP2Y1014AU0F_demos/GP2Y1014AU/GP2Y1014AU.ino +++ b/GP2Y1014AU0F_demos/GP2Y1014AU/GP2Y1014AU.ino @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2020 Limor Fried for Adafruit Industries +// +// SPDX-License-Identifier: MIT + #define dustPin A0 // Black wire #define ledPin 5 // White wire diff --git a/GemmaM0_Band_Jacket/DiscoBandCamp/DiscoBandCamp.ino b/GemmaM0_Band_Jacket/DiscoBandCamp/DiscoBandCamp.ino index 433fb0178..828d99035 100644 --- a/GemmaM0_Band_Jacket/DiscoBandCamp/DiscoBandCamp.ino +++ b/GemmaM0_Band_Jacket/DiscoBandCamp/DiscoBandCamp.ino @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2019 Amelia T +// +// SPDX-License-Identifier: MIT + // Sketch for "DiscoBandCamp" by Amelia T, 2019 // See Adafruit guide & XYmap.h for pixel map for more information // Use Adafruit Gemma M0: 60 pixels to D0, 60 pixels to D1, & button to D2 & GND diff --git a/GemmaM0_Band_Jacket/DiscoBandCamp/XYmap.h b/GemmaM0_Band_Jacket/DiscoBandCamp/XYmap.h index 248b12cdc..07c80b997 100644 --- a/GemmaM0_Band_Jacket/DiscoBandCamp/XYmap.h +++ b/GemmaM0_Band_Jacket/DiscoBandCamp/XYmap.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2019 Anne Barela for Adafruit Industries +// +// SPDX-License-Identifier: MIT + // Helper functions for a two-dimensional XY matrix of pixels. // Special credit to Mark Kriegsman for RGB Shades Kickstarter 2014-10-18 // https://www.kickstarter.com/projects/macetech/rgb-led-shades diff --git a/GemmaM0_Band_Jacket/DiscoBandCamp/buttons.h b/GemmaM0_Band_Jacket/DiscoBandCamp/buttons.h index 32425d108..d756d6f17 100644 --- a/GemmaM0_Band_Jacket/DiscoBandCamp/buttons.h +++ b/GemmaM0_Band_Jacket/DiscoBandCamp/buttons.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2019 Anne Barela for Adafruit Industries +// +// SPDX-License-Identifier: MIT + // Process button input and return button activity // Retained button code from RGB Shades though just using one button diff --git a/GemmaM0_Band_Jacket/DiscoBandCamp/effects.h b/GemmaM0_Band_Jacket/DiscoBandCamp/effects.h index 9327c82fa..ff0e32ea1 100644 --- a/GemmaM0_Band_Jacket/DiscoBandCamp/effects.h +++ b/GemmaM0_Band_Jacket/DiscoBandCamp/effects.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2019 Anne Barela for Adafruit Industries +// +// SPDX-License-Identifier: MIT + // Selection of effects from the FastLED library & Macetech RGB Shades diff --git a/GemmaM0_Band_Jacket/DiscoBandCamp/utils.h b/GemmaM0_Band_Jacket/DiscoBandCamp/utils.h index fcdbfcce6..4891c342f 100644 --- a/GemmaM0_Band_Jacket/DiscoBandCamp/utils.h +++ b/GemmaM0_Band_Jacket/DiscoBandCamp/utils.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2019 Anne Barela for Adafruit Industries +// +// SPDX-License-Identifier: MIT + // Assorted useful functions and variables // Global variables diff --git a/HalloWing_Jump_Scare_Trap/code.py b/HalloWing_Jump_Scare_Trap/code.py index 07214ca9b..c5a96b090 100644 --- a/HalloWing_Jump_Scare_Trap/code.py +++ b/HalloWing_Jump_Scare_Trap/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2018 John Edgar Park for Adafruit Industries +# +# SPDX-License-Identifier: MIT + # HalloWing Jump Scare Trap # use PIR sensor, speaker, and servo import time diff --git a/MagTag_Flashcards/basic/code.py b/MagTag_Flashcards/basic/code.py index bd01040e6..f871e8936 100644 --- a/MagTag_Flashcards/basic/code.py +++ b/MagTag_Flashcards/basic/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Anne Barela for Adafruit Industries +# +# SPDX-License-Identifier: MIT + import time import json import terminalio diff --git a/MagTag_Flashcards/chapters/code.py b/MagTag_Flashcards/chapters/code.py index a17d970cf..de2f62a56 100644 --- a/MagTag_Flashcards/chapters/code.py +++ b/MagTag_Flashcards/chapters/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Anne Barela for Adafruit Industries +# +# SPDX-License-Identifier: MIT + import time import json import terminalio diff --git a/Magic_Wand/Magic_Wand.ino b/Magic_Wand/Magic_Wand.ino index c980ae3a5..d35e73205 100644 --- a/Magic_Wand/Magic_Wand.ino +++ b/Magic_Wand/Magic_Wand.ino @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2018 Alex Alves for Adafruit Industries +// +// SPDX-License-Identifier: BSD + //Written by Alex Alves for Adafruit Industries. //Adafruit invests time and resources providing this open source code, //please support Adafruit and open-source hardware by purchasing products diff --git a/Make_It_Sense/buttons-neopixels/code.py b/Make_It_Sense/buttons-neopixels/code.py index 2e4f60b1a..e1e24f1ae 100644 --- a/Make_It_Sense/buttons-neopixels/code.py +++ b/Make_It_Sense/buttons-neopixels/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2018 Anne Barela for Adafruit Industries +# +# SPDX-License-Identifier: MIT + from digitalio import DigitalInOut, Pull, Direction import board import neopixel diff --git a/Make_It_Sense/cpx-ir-decode-list/code.py b/Make_It_Sense/cpx-ir-decode-list/code.py index cf20324a6..5d097a744 100644 --- a/Make_It_Sense/cpx-ir-decode-list/code.py +++ b/Make_It_Sense/cpx-ir-decode-list/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2017 John Edgar Park for Adafruit Industries +# +# SPDX-License-Identifier: MIT + # Read Adafruit Remote Codes with Circuit Playground Express # # Simplified code based on https://learn.adafruit.com/remote- diff --git a/Make_It_Sense/cpx-lib-light/code.py b/Make_It_Sense/cpx-lib-light/code.py index 5a47ebaef..87cce2050 100644 --- a/Make_It_Sense/cpx-lib-light/code.py +++ b/Make_It_Sense/cpx-lib-light/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2017 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + import time from adafruit_circuitplayground.express import cpx diff --git a/Make_It_Sense/cpx-lib-temp/code.py b/Make_It_Sense/cpx-lib-temp/code.py index 3f57626c2..27d1941b7 100644 --- a/Make_It_Sense/cpx-lib-temp/code.py +++ b/Make_It_Sense/cpx-lib-temp/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2017 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + import time from adafruit_circuitplayground.express import cpx diff --git a/Make_It_Sense/light-plot/code.py b/Make_It_Sense/light-plot/code.py index 9afb63f1c..dda8843a6 100644 --- a/Make_It_Sense/light-plot/code.py +++ b/Make_It_Sense/light-plot/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2018 Anne Barela for Adafruit Industries +# +# SPDX-License-Identifier: MIT + import time import analogio import board diff --git a/PyGamer_Thermal_Camera/code.py b/PyGamer_Thermal_Camera/code.py index d4ee30d51..3eb790427 100644 --- a/PyGamer_Thermal_Camera/code.py +++ b/PyGamer_Thermal_Camera/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2020 Jan Goolsbey for Adafruit Industries +# +# SPDX-License-Identifier: MIT + # Thermal_Cam_v32.py # 2020-01-29 v3.2 # (c) 2020 Jan Goolsbey for Adafruit Industries diff --git a/PyGamer_Thermal_Camera/thermal_cam_config.py b/PyGamer_Thermal_Camera/thermal_cam_config.py index 85dd42a83..6d7c70a29 100644 --- a/PyGamer_Thermal_Camera/thermal_cam_config.py +++ b/PyGamer_Thermal_Camera/thermal_cam_config.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2020 Jan Goolsbey for Adafruit Industries +# +# SPDX-License-Identifier: MIT + # thermal_cam_config.py ### Alarm and range default values in Farenheit ### ALARM_F = 120 diff --git a/PyGamer_Thermal_Camera/thermal_cam_converters.py b/PyGamer_Thermal_Camera/thermal_cam_converters.py index 3d9c465a6..0b2757f50 100644 --- a/PyGamer_Thermal_Camera/thermal_cam_converters.py +++ b/PyGamer_Thermal_Camera/thermal_cam_converters.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2020 Jan Goolsbey for Adafruit Industries +# +# SPDX-License-Identifier: MIT + # thermal_cam_converters.py def celsius_to_fahrenheit(deg_c=None): # convert C to F; round to 1 degree C diff --git a/PyPortal_HaDSkulls/code.py b/PyPortal_HaDSkulls/code.py index d7621db6f..b67bf1d20 100644 --- a/PyPortal_HaDSkulls/code.py +++ b/PyPortal_HaDSkulls/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2019 Limor Fried for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ This example will access the Hackaday.io API, grab a number like hackaday skulls, and display it on a screen diff --git a/RGB_Matrix_Protest_Sign/code.py b/RGB_Matrix_Protest_Sign/code.py index 209f55bbd..f6da32324 100644 --- a/RGB_Matrix_Protest_Sign/code.py +++ b/RGB_Matrix_Protest_Sign/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2020 John Park for Adafruit Industries +# +# SPDX-License-Identifier: MIT + import board import displayio import framebufferio