From 9faa3c271f51a4b214924655fb828a1c42678bd1 Mon Sep 17 00:00:00 2001 From: dherrada Date: Wed, 23 Feb 2022 14:01:17 -0500 Subject: [PATCH] Added SPDX to 30 more files - spdx-41 --- Adafruit_MacroPad/Digital_Input/code.py | 4 ++++ Adafruit_MacroPad/MacroPad/code.py | 4 ++++ Adafruit_STEMMA_Speaker/STEMMA_Speaker_CPX_play_file/code.py | 4 ++++ Adafruit_STEMMA_Speaker/STEMMA_Speaker_CPX_play_tone/code.py | 4 ++++ CLUE_Cycling_Simple/code.py | 4 ++++ .../CircuitPlaygroundMakeBelieve.ino | 4 ++++ CircuitPlaygroundMakeBelieve/knight.h | 4 ++++ CircuitPlaygroundMakeBelieve/laser.h | 4 ++++ CircuitPlaygroundMakeBelieve/wand.h | 4 ++++ CircuitPython_Slideshow/code.py | 4 ++++ Fluttering_Fairy_Wings/code.py | 4 ++++ I_Voted_Pin/code.py | 4 ++++ LED_Harness_Bra/LED_Harness_Bra.ino | 4 ++++ NeoPixel_Crystal_Chandelier/code.py | 5 +++++ NeoPixel_Crystal_Chandelier/code_simple/code.py | 4 ++++ .../audio-button.py | 4 ++++ .../legacy-rpi-gpio/RPi.GPIO-raspi-audio-button.py | 4 ++++ .../legacy-rpi-gpio/RPi.GPIO-raspi-simple-jukebox.py | 4 ++++ .../simple-jukebox.py | 4 ++++ PyGamer_Bounce_Game/bounce/bounce.ino | 4 ++++ PyGamer_Bounce_Game/bounce/logo.h | 4 ++++ .../index_to_rgb/grayscale_spectrum.py | 4 ++++ .../index_to_rgb/iron_spectrum.py | 4 ++++ .../index_to_rgb/visible_spectrum.py | 4 ++++ PyGamer_Improved_Thermal_Camera/thermal_cam_config.py | 4 ++++ PyGamer_Improved_Thermal_Camera/thermal_cam_converters.py | 4 ++++ PyPortal_Discord/code.py | 4 ++++ PyPortal_Word_of_the_Day/code.py | 4 ++++ RBG_Matrix/code.py | 4 ++++ Raspberry_Pi_DS18B20_Temperature_Sensing/code.py | 4 ++++ 30 files changed, 121 insertions(+) diff --git a/Adafruit_MacroPad/Digital_Input/code.py b/Adafruit_MacroPad/Digital_Input/code.py index 042610fc3..e290757fd 100644 --- a/Adafruit_MacroPad/Digital_Input/code.py +++ b/Adafruit_MacroPad/Digital_Input/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """CircuitPython Digital Input example for MacroPad""" import board import digitalio diff --git a/Adafruit_MacroPad/MacroPad/code.py b/Adafruit_MacroPad/MacroPad/code.py index eb59cd599..de3d3273d 100644 --- a/Adafruit_MacroPad/MacroPad/code.py +++ b/Adafruit_MacroPad/MacroPad/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """Keypad and rotary encoder example for Adafruit MacroPad""" import board import digitalio diff --git a/Adafruit_STEMMA_Speaker/STEMMA_Speaker_CPX_play_file/code.py b/Adafruit_STEMMA_Speaker/STEMMA_Speaker_CPX_play_file/code.py index b42ec1c9a..2d14e76bc 100755 --- a/Adafruit_STEMMA_Speaker/STEMMA_Speaker_CPX_play_file/code.py +++ b/Adafruit_STEMMA_Speaker/STEMMA_Speaker_CPX_play_file/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2017 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + from adafruit_circuitplayground.express import cpx while True: diff --git a/Adafruit_STEMMA_Speaker/STEMMA_Speaker_CPX_play_tone/code.py b/Adafruit_STEMMA_Speaker/STEMMA_Speaker_CPX_play_tone/code.py index 642925853..607186345 100755 --- a/Adafruit_STEMMA_Speaker/STEMMA_Speaker_CPX_play_tone/code.py +++ b/Adafruit_STEMMA_Speaker/STEMMA_Speaker_CPX_play_tone/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2017 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + from adafruit_circuitplayground.express import cpx while True: diff --git a/CLUE_Cycling_Simple/code.py b/CLUE_Cycling_Simple/code.py index 0951d4325..7560f5951 100644 --- a/CLUE_Cycling_Simple/code.py +++ b/CLUE_Cycling_Simple/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2020 John Park for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ Read cycling speed and cadence data from a peripheral using the standard BLE Cycling Speed and Cadence (CSC) Service. diff --git a/CircuitPlaygroundMakeBelieve/CircuitPlaygroundMakeBelieve.ino b/CircuitPlaygroundMakeBelieve/CircuitPlaygroundMakeBelieve.ino index 3db3003e5..540917e61 100644 --- a/CircuitPlaygroundMakeBelieve/CircuitPlaygroundMakeBelieve.ino +++ b/CircuitPlaygroundMakeBelieve/CircuitPlaygroundMakeBelieve.ino @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2020 Limor Fried for Adafruit Industries +// +// SPDX-License-Identifier: MIT + // "Make-Believe" sketch for Adafruit Circuit Playground. // Lights and sounds react to motion and taps. diff --git a/CircuitPlaygroundMakeBelieve/knight.h b/CircuitPlaygroundMakeBelieve/knight.h index 054dda9f5..4c9d53c4f 100644 --- a/CircuitPlaygroundMakeBelieve/knight.h +++ b/CircuitPlaygroundMakeBelieve/knight.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2020 Limor Fried for Adafruit Industries +// +// SPDX-License-Identifier: MIT + #define TAP_THRESHOLD 7.0 #define SWING_THRESHOLD 1.3 diff --git a/CircuitPlaygroundMakeBelieve/laser.h b/CircuitPlaygroundMakeBelieve/laser.h index faac34564..dbf6fa577 100644 --- a/CircuitPlaygroundMakeBelieve/laser.h +++ b/CircuitPlaygroundMakeBelieve/laser.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2020 Limor Fried for Adafruit Industries +// +// SPDX-License-Identifier: MIT + #define TAP_THRESHOLD 7.0 #define SWING_THRESHOLD 1.3 diff --git a/CircuitPlaygroundMakeBelieve/wand.h b/CircuitPlaygroundMakeBelieve/wand.h index ab0591de4..4951ae178 100644 --- a/CircuitPlaygroundMakeBelieve/wand.h +++ b/CircuitPlaygroundMakeBelieve/wand.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2020 Limor Fried for Adafruit Industries +// +// SPDX-License-Identifier: MIT + #define TAP_THRESHOLD 7.0 #define SWING_THRESHOLD 1.3 diff --git a/CircuitPython_Slideshow/code.py b/CircuitPython_Slideshow/code.py index c23fd1189..d8e4bef9e 100644 --- a/CircuitPython_Slideshow/code.py +++ b/CircuitPython_Slideshow/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2019 Anne Barela for Adafruit Industries +# +# SPDX-License-Identifier: MIT + # CircuitPython Slideshow - uses the adafruit_slideshow.mpy library import board from adafruit_slideshow import PlayBackOrder, SlideShow diff --git a/Fluttering_Fairy_Wings/code.py b/Fluttering_Fairy_Wings/code.py index ca16f6be2..d5dfe6799 100644 --- a/Fluttering_Fairy_Wings/code.py +++ b/Fluttering_Fairy_Wings/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Erin St Blaine for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ Fluttering Fairy Wings Adafruit invests time and resources providing this open source code. diff --git a/I_Voted_Pin/code.py b/I_Voted_Pin/code.py index ecd55acb1..eca7f4af3 100755 --- a/I_Voted_Pin/code.py +++ b/I_Voted_Pin/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2020 Collin Cunningham for Adafruit Industries +# +# SPDX-License-Identifier: MIT + import board from adafruit_debouncer import Debouncer import digitalio diff --git a/LED_Harness_Bra/LED_Harness_Bra.ino b/LED_Harness_Bra/LED_Harness_Bra.ino index f05ddca21..ab75e49f9 100644 --- a/LED_Harness_Bra/LED_Harness_Bra.ino +++ b/LED_Harness_Bra/LED_Harness_Bra.ino @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2018 Amelia Tetterton for Adafruit Industries +// +// SPDX-License-Identifier: MIT + /* HarnessBra by Amelia Tetterton as of 11/15/18 diff --git a/NeoPixel_Crystal_Chandelier/code.py b/NeoPixel_Crystal_Chandelier/code.py index e7277ed41..919e90132 100644 --- a/NeoPixel_Crystal_Chandelier/code.py +++ b/NeoPixel_Crystal_Chandelier/code.py @@ -1,3 +1,8 @@ +# SPDX-FileCopyrightText: 2021 Erin St Blaine for Adafruit Industries +# SPDX-FileCopyrightText: 2021 Limor Fried for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ Crystal Chandelier with Circuit Playground BlueFruit Adafruit invests time and resources providing this open source code. diff --git a/NeoPixel_Crystal_Chandelier/code_simple/code.py b/NeoPixel_Crystal_Chandelier/code_simple/code.py index a9e263c7b..d52a3451c 100644 --- a/NeoPixel_Crystal_Chandelier/code_simple/code.py +++ b/NeoPixel_Crystal_Chandelier/code_simple/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Erin St Blaine for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ Crystal Chandelier with Circuit Playground BlueFruit Adafruit invests time and resources providing this open source code. diff --git a/Playing_Sounds_and_Using_Buttons_with_Raspberry_Pi/audio-button.py b/Playing_Sounds_and_Using_Buttons_with_Raspberry_Pi/audio-button.py index 56587f51d..6e778f154 100644 --- a/Playing_Sounds_and_Using_Buttons_with_Raspberry_Pi/audio-button.py +++ b/Playing_Sounds_and_Using_Buttons_with_Raspberry_Pi/audio-button.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2018 Mikey Sklar for Adafruit Industries +# +# SPDX-License-Identifier: MIT + # This script requires a Raspberry Pi 2, 3 or Zero. Circuit Python must # be installed and it is strongly recommended that you use the latest # release of Raspbian. diff --git a/Playing_Sounds_and_Using_Buttons_with_Raspberry_Pi/legacy-rpi-gpio/RPi.GPIO-raspi-audio-button.py b/Playing_Sounds_and_Using_Buttons_with_Raspberry_Pi/legacy-rpi-gpio/RPi.GPIO-raspi-audio-button.py index dd773249e..a695452bc 100644 --- a/Playing_Sounds_and_Using_Buttons_with_Raspberry_Pi/legacy-rpi-gpio/RPi.GPIO-raspi-audio-button.py +++ b/Playing_Sounds_and_Using_Buttons_with_Raspberry_Pi/legacy-rpi-gpio/RPi.GPIO-raspi-audio-button.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2018 Mikey Sklar for Adafruit Industries +# +# SPDX-License-Identifier: MIT + import os from time import sleep diff --git a/Playing_Sounds_and_Using_Buttons_with_Raspberry_Pi/legacy-rpi-gpio/RPi.GPIO-raspi-simple-jukebox.py b/Playing_Sounds_and_Using_Buttons_with_Raspberry_Pi/legacy-rpi-gpio/RPi.GPIO-raspi-simple-jukebox.py index eb1540f4a..81ecfb96a 100644 --- a/Playing_Sounds_and_Using_Buttons_with_Raspberry_Pi/legacy-rpi-gpio/RPi.GPIO-raspi-simple-jukebox.py +++ b/Playing_Sounds_and_Using_Buttons_with_Raspberry_Pi/legacy-rpi-gpio/RPi.GPIO-raspi-simple-jukebox.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2018 Mikey Sklar for Adafruit Industries +# +# SPDX-License-Identifier: MIT + from os import listdir import subprocess from time import sleep diff --git a/Playing_Sounds_and_Using_Buttons_with_Raspberry_Pi/simple-jukebox.py b/Playing_Sounds_and_Using_Buttons_with_Raspberry_Pi/simple-jukebox.py index 4b6baeb03..9479b8e94 100644 --- a/Playing_Sounds_and_Using_Buttons_with_Raspberry_Pi/simple-jukebox.py +++ b/Playing_Sounds_and_Using_Buttons_with_Raspberry_Pi/simple-jukebox.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2018 Mikey Sklar for Adafruit Industries +# +# SPDX-License-Identifier: MIT + # This script requires a Raspberry Pi 2, 3 or Zero. Circuit Python must # be installed and it is strongly recommended that you use the latest # release of Raspbian. diff --git a/PyGamer_Bounce_Game/bounce/bounce.ino b/PyGamer_Bounce_Game/bounce/bounce.ino index ec62caa53..c15866421 100644 --- a/PyGamer_Bounce_Game/bounce/bounce.ino +++ b/PyGamer_Bounce_Game/bounce/bounce.ino @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2019 Anne Barela for Adafruit Industries +// +// SPDX-License-Identifier: MIT + // Adafruit Arcada based Level Bounce Game // // Anne Barela, June 3, 2019 for Adafruit Industries diff --git a/PyGamer_Bounce_Game/bounce/logo.h b/PyGamer_Bounce_Game/bounce/logo.h index 7e279e73e..82dacb154 100644 --- a/PyGamer_Bounce_Game/bounce/logo.h +++ b/PyGamer_Bounce_Game/bounce/logo.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2019 Anne Barela for Adafruit Industries +// +// SPDX-License-Identifier: MIT + /*! * @file logo.h * diff --git a/PyGamer_Improved_Thermal_Camera/index_to_rgb/grayscale_spectrum.py b/PyGamer_Improved_Thermal_Camera/index_to_rgb/grayscale_spectrum.py index 0d205a375..eb0a5341a 100644 --- a/PyGamer_Improved_Thermal_Camera/index_to_rgb/grayscale_spectrum.py +++ b/PyGamer_Improved_Thermal_Camera/index_to_rgb/grayscale_spectrum.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Cedar Grove Studios for Adafruit Industries +# +# SPDX-License-Identifier: MIT + # grayscale_spectrum.py # 2021-05-19 version 1.1 # Copyright 2021 Cedar Grove Studios diff --git a/PyGamer_Improved_Thermal_Camera/index_to_rgb/iron_spectrum.py b/PyGamer_Improved_Thermal_Camera/index_to_rgb/iron_spectrum.py index 305ee85d7..ca3b5336b 100644 --- a/PyGamer_Improved_Thermal_Camera/index_to_rgb/iron_spectrum.py +++ b/PyGamer_Improved_Thermal_Camera/index_to_rgb/iron_spectrum.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Cedar Grove Studios for Adafruit Industries +# +# SPDX-License-Identifier: MIT + # iron_spectrum.py # 2021-05-27 version 1.2 # Copyright 2021 Cedar Grove Studios diff --git a/PyGamer_Improved_Thermal_Camera/index_to_rgb/visible_spectrum.py b/PyGamer_Improved_Thermal_Camera/index_to_rgb/visible_spectrum.py index c58c1c824..3c7e47c2e 100644 --- a/PyGamer_Improved_Thermal_Camera/index_to_rgb/visible_spectrum.py +++ b/PyGamer_Improved_Thermal_Camera/index_to_rgb/visible_spectrum.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Cedar Grove Studios for Adafruit Industries +# +# SPDX-License-Identifier: MIT + # visible_spectrum.py # 2021-05-27 version 1.2 # Copyright 2021 Cedar Grove Studios diff --git a/PyGamer_Improved_Thermal_Camera/thermal_cam_config.py b/PyGamer_Improved_Thermal_Camera/thermal_cam_config.py index 5e6d7f238..347fc713b 100644 --- a/PyGamer_Improved_Thermal_Camera/thermal_cam_config.py +++ b/PyGamer_Improved_Thermal_Camera/thermal_cam_config.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Anne Barela 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_Improved_Thermal_Camera/thermal_cam_converters.py b/PyGamer_Improved_Thermal_Camera/thermal_cam_converters.py index 3d9c465a6..bfd9a6d6a 100644 --- a/PyGamer_Improved_Thermal_Camera/thermal_cam_converters.py +++ b/PyGamer_Improved_Thermal_Camera/thermal_cam_converters.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2020 CedarGroveStudios 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_Discord/code.py b/PyPortal_Discord/code.py index 6acdfec03..1943ee8fc 100644 --- a/PyPortal_Discord/code.py +++ b/PyPortal_Discord/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2019 Limor Fried for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ This example will access shields.io API, grab the SVG graphic and then use regular expression search to locate the number of online discord users, then diff --git a/PyPortal_Word_of_the_Day/code.py b/PyPortal_Word_of_the_Day/code.py index acaee4739..1935eb6fe 100755 --- a/PyPortal_Word_of_the_Day/code.py +++ b/PyPortal_Word_of_the_Day/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2019 Isaac Wellish for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ This example uses the Wordnik API to display Wordnik's Word of the Day. Each day a new word, its part of speech, and definition diff --git a/RBG_Matrix/code.py b/RBG_Matrix/code.py index 86272fc20..df6b13457 100644 --- a/RBG_Matrix/code.py +++ b/RBG_Matrix/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2020 Limor Fried for Adafruit Industries +# +# SPDX-License-Identifier: MIT + # This example shows how to use text and graphics to create custom signage import time diff --git a/Raspberry_Pi_DS18B20_Temperature_Sensing/code.py b/Raspberry_Pi_DS18B20_Temperature_Sensing/code.py index 0f86ae77b..9de5b25d0 100644 --- a/Raspberry_Pi_DS18B20_Temperature_Sensing/code.py +++ b/Raspberry_Pi_DS18B20_Temperature_Sensing/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2019 Mikey Sklar for Adafruit Industries +# +# SPDX-License-Identifier: MIT + import glob import time