diff --git a/CircuitPython_on_Linux_and_Raspberry_Pi/PWM_LED.py b/CircuitPython_on_Linux_and_Raspberry_Pi/PWM_LED.py index 1be295a9..12d0fb7c 100644 --- a/CircuitPython_on_Linux_and_Raspberry_Pi/PWM_LED.py +++ b/CircuitPython_on_Linux_and_Raspberry_Pi/PWM_LED.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2018 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + import time import board import pwmio diff --git a/CircuitPython_on_Linux_and_Raspberry_Pi/PWM_motor_servo_control.py b/CircuitPython_on_Linux_and_Raspberry_Pi/PWM_motor_servo_control.py index c8d12046..660dc0e0 100644 --- a/CircuitPython_on_Linux_and_Raspberry_Pi/PWM_motor_servo_control.py +++ b/CircuitPython_on_Linux_and_Raspberry_Pi/PWM_motor_servo_control.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2018 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + import time import board import pwmio diff --git a/CircuitPython_on_Linux_and_Raspberry_Pi/PWM_servo_control.py b/CircuitPython_on_Linux_and_Raspberry_Pi/PWM_servo_control.py index 71b8bd34..172ed0d4 100644 --- a/CircuitPython_on_Linux_and_Raspberry_Pi/PWM_servo_control.py +++ b/CircuitPython_on_Linux_and_Raspberry_Pi/PWM_servo_control.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2020 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + import time import board import pwmio diff --git a/Getting_Started_With_Raspberry_Pi_Pico/built_in_led_on/code.py b/Getting_Started_With_Raspberry_Pi_Pico/built_in_led_on/code.py index 6b585d52..8877e4ac 100644 --- a/Getting_Started_With_Raspberry_Pi_Pico/built_in_led_on/code.py +++ b/Getting_Started_With_Raspberry_Pi_Pico/built_in_led_on/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """Example for Pico. Turns on the built-in LED.""" import board import digitalio diff --git a/Getting_Started_With_Raspberry_Pi_Pico/built_in_led_on_off/code.py b/Getting_Started_With_Raspberry_Pi_Pico/built_in_led_on_off/code.py index 7a20d2c4..71ab9965 100644 --- a/Getting_Started_With_Raspberry_Pi_Pico/built_in_led_on_off/code.py +++ b/Getting_Started_With_Raspberry_Pi_Pico/built_in_led_on_off/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """Example for Pico. Turns the built-in LED on and off with no delay.""" import board import digitalio diff --git a/Getting_Started_With_Raspberry_Pi_Pico/built_in_led_on_off_short/code.py b/Getting_Started_With_Raspberry_Pi_Pico/built_in_led_on_off_short/code.py index 19186e3f..91b18446 100644 --- a/Getting_Started_With_Raspberry_Pi_Pico/built_in_led_on_off_short/code.py +++ b/Getting_Started_With_Raspberry_Pi_Pico/built_in_led_on_off_short/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """Example for Pico. Blinks the built-in LED.""" import time import board diff --git a/Getting_Started_With_Raspberry_Pi_Pico/burglar_alarm_on_light/code.py b/Getting_Started_With_Raspberry_Pi_Pico/burglar_alarm_on_light/code.py index a6752aae..a6dbbcd6 100644 --- a/Getting_Started_With_Raspberry_Pi_Pico/burglar_alarm_on_light/code.py +++ b/Getting_Started_With_Raspberry_Pi_Pico/burglar_alarm_on_light/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ A burglar alarm example for Pico. Quick flashing LED indicates alarm has been triggered. diff --git a/Getting_Started_With_Raspberry_Pi_Pico/burglar_alarm_on_light_and_off_light/code.py b/Getting_Started_With_Raspberry_Pi_Pico/burglar_alarm_on_light_and_off_light/code.py index 60079963..9879cfd7 100644 --- a/Getting_Started_With_Raspberry_Pi_Pico/burglar_alarm_on_light_and_off_light/code.py +++ b/Getting_Started_With_Raspberry_Pi_Pico/burglar_alarm_on_light_and_off_light/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ A burglar alarm example for Pico. Slow flashing LED indicates alarm is ready. Quick flashing LED indicates alarm has been triggered. diff --git a/Getting_Started_With_Raspberry_Pi_Pico/burglar_alarm_on_off_light_and_sound_extended/code.py b/Getting_Started_With_Raspberry_Pi_Pico/burglar_alarm_on_off_light_and_sound_extended/code.py index 571c8584..afc0a12c 100644 --- a/Getting_Started_With_Raspberry_Pi_Pico/burglar_alarm_on_off_light_and_sound_extended/code.py +++ b/Getting_Started_With_Raspberry_Pi_Pico/burglar_alarm_on_off_light_and_sound_extended/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ A burglar alarm with two motion sensors example for Pico. Slow flashing LED indicates alarm is ready. Quick flashing LED and beeping buzzer indicate alarm has been triggered. diff --git a/Getting_Started_With_Raspberry_Pi_Pico/button/code.py b/Getting_Started_With_Raspberry_Pi_Pico/button/code.py index 30c86c5a..a3174a45 100644 --- a/Getting_Started_With_Raspberry_Pi_Pico/button/code.py +++ b/Getting_Started_With_Raspberry_Pi_Pico/button/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ Button example for Pico. Prints button pressed state to serial console. diff --git a/Getting_Started_With_Raspberry_Pi_Pico/button_pressed/code.py b/Getting_Started_With_Raspberry_Pi_Pico/button_pressed/code.py index e45db04c..e5bc2156 100644 --- a/Getting_Started_With_Raspberry_Pi_Pico/button_pressed/code.py +++ b/Getting_Started_With_Raspberry_Pi_Pico/button_pressed/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ Button example for Pico. Prints message to serial console when button is pressed. diff --git a/Getting_Started_With_Raspberry_Pi_Pico/conditional/code.py b/Getting_Started_With_Raspberry_Pi_Pico/conditional/code.py index 6bee7032..cdff22c7 100644 --- a/Getting_Started_With_Raspberry_Pi_Pico/conditional/code.py +++ b/Getting_Started_With_Raspberry_Pi_Pico/conditional/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """Example of assigning a variable and comparing it to a value.""" user_name = input ("What is your name? ") diff --git a/Getting_Started_With_Raspberry_Pi_Pico/conditional_loop/code.py b/Getting_Started_With_Raspberry_Pi_Pico/conditional_loop/code.py index 582316b6..55ad9a54 100644 --- a/Getting_Started_With_Raspberry_Pi_Pico/conditional_loop/code.py +++ b/Getting_Started_With_Raspberry_Pi_Pico/conditional_loop/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """Example of assigning a variable, and comparing it to a value in a loop.""" user_name = input ("What is your name? ") diff --git a/Getting_Started_With_Raspberry_Pi_Pico/data_logger/code.py b/Getting_Started_With_Raspberry_Pi_Pico/data_logger/code.py index 4043a69a..642aa1db 100644 --- a/Getting_Started_With_Raspberry_Pi_Pico/data_logger/code.py +++ b/Getting_Started_With_Raspberry_Pi_Pico/data_logger/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ Data logging example for Pico. Logs the temperature to a file on the Pico. """ diff --git a/Getting_Started_With_Raspberry_Pi_Pico/data_logger_no_ground_wire_boot/code.py b/Getting_Started_With_Raspberry_Pi_Pico/data_logger_no_ground_wire_boot/code.py index 8281b73e..e9eaab79 100644 --- a/Getting_Started_With_Raspberry_Pi_Pico/data_logger_no_ground_wire_boot/code.py +++ b/Getting_Started_With_Raspberry_Pi_Pico/data_logger_no_ground_wire_boot/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ boot.py file for Pico data logging example. If this file is present when the pico starts up, make the filesystem writeable by CircuitPython. diff --git a/Getting_Started_With_Raspberry_Pi_Pico/definite_loop/code.py b/Getting_Started_With_Raspberry_Pi_Pico/definite_loop/code.py index 17053e60..5393185b 100644 --- a/Getting_Started_With_Raspberry_Pi_Pico/definite_loop/code.py +++ b/Getting_Started_With_Raspberry_Pi_Pico/definite_loop/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """Example of definite loop.""" print("Loop starting!") for i in range(10): diff --git a/Getting_Started_With_Raspberry_Pi_Pico/motion_sensor/code.py b/Getting_Started_With_Raspberry_Pi_Pico/motion_sensor/code.py index 5195b34d..81ea60d7 100644 --- a/Getting_Started_With_Raspberry_Pi_Pico/motion_sensor/code.py +++ b/Getting_Started_With_Raspberry_Pi_Pico/motion_sensor/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ Simple motion sensor example for Pico. Prints to serial console when PIR sensor is triggered. diff --git a/Getting_Started_With_Raspberry_Pi_Pico/neopixels_rainbow/code.py b/Getting_Started_With_Raspberry_Pi_Pico/neopixels_rainbow/code.py index 24c85ad9..d9c6c063 100644 --- a/Getting_Started_With_Raspberry_Pi_Pico/neopixels_rainbow/code.py +++ b/Getting_Started_With_Raspberry_Pi_Pico/neopixels_rainbow/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ NeoPixel example for Pico. Displays a rainbow on the NeoPixels. diff --git a/Getting_Started_With_Raspberry_Pi_Pico/neopixels_red/code.py b/Getting_Started_With_Raspberry_Pi_Pico/neopixels_red/code.py index 3ae2ce19..0f617812 100644 --- a/Getting_Started_With_Raspberry_Pi_Pico/neopixels_red/code.py +++ b/Getting_Started_With_Raspberry_Pi_Pico/neopixels_red/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ NeoPixel example for Pico. Turns the NeoPixels red. diff --git a/Getting_Started_With_Raspberry_Pi_Pico/neopixels_red_green_blue/code.py b/Getting_Started_With_Raspberry_Pi_Pico/neopixels_red_green_blue/code.py index 422ecc96..824628ed 100644 --- a/Getting_Started_With_Raspberry_Pi_Pico/neopixels_red_green_blue/code.py +++ b/Getting_Started_With_Raspberry_Pi_Pico/neopixels_red_green_blue/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ NeoPixel example for Pico. Turns the NeoPixels red, green, and blue in sequence. diff --git a/Getting_Started_With_Raspberry_Pi_Pico/potentiometer_pwm_led/code.py b/Getting_Started_With_Raspberry_Pi_Pico/potentiometer_pwm_led/code.py index 5e6f2e34..7c7fcf11 100644 --- a/Getting_Started_With_Raspberry_Pi_Pico/potentiometer_pwm_led/code.py +++ b/Getting_Started_With_Raspberry_Pi_Pico/potentiometer_pwm_led/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ Use PWM to fade an LED up and down using the potentiometer value as the duty cycle. diff --git a/Getting_Started_With_Raspberry_Pi_Pico/potentiometer_read_voltage/code.py b/Getting_Started_With_Raspberry_Pi_Pico/potentiometer_read_voltage/code.py index 19000012..c835548a 100644 --- a/Getting_Started_With_Raspberry_Pi_Pico/potentiometer_read_voltage/code.py +++ b/Getting_Started_With_Raspberry_Pi_Pico/potentiometer_read_voltage/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ Convert the potentiometer value to a voltage value. Prints the voltage value to the serial console every two seconds. diff --git a/Getting_Started_With_Raspberry_Pi_Pico/reaction_game/code.py b/Getting_Started_With_Raspberry_Pi_Pico/reaction_game/code.py index 43a7e469..582ec277 100644 --- a/Getting_Started_With_Raspberry_Pi_Pico/reaction_game/code.py +++ b/Getting_Started_With_Raspberry_Pi_Pico/reaction_game/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ Reaction game example for Pico. LED turns on for between 5 and 10 seconds. Once it turns off, try to press the button as quickly as possible to measure reaction timm. diff --git a/Getting_Started_With_Raspberry_Pi_Pico/traffic_light/code.py b/Getting_Started_With_Raspberry_Pi_Pico/traffic_light/code.py index 577f98da..6440d4f2 100644 --- a/Getting_Started_With_Raspberry_Pi_Pico/traffic_light/code.py +++ b/Getting_Started_With_Raspberry_Pi_Pico/traffic_light/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """Traffic light simulator example for Pico. Turns on red, amber and green LEDs in traffic light-like sequence. diff --git a/Getting_Started_With_Raspberry_Pi_Pico/traffic_light_crossing/code.py b/Getting_Started_With_Raspberry_Pi_Pico/traffic_light_crossing/code.py index db84cbed..9abf2b6f 100644 --- a/Getting_Started_With_Raspberry_Pi_Pico/traffic_light_crossing/code.py +++ b/Getting_Started_With_Raspberry_Pi_Pico/traffic_light_crossing/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """Traffic light with pedestrian crossing simulator example for Pico. Turns on red, amber and green LEDs in traffic light-like sequence. When button is pressed, upon light sequence completion, the red LED turns on and the buzzer beeps to indicate pedestrian crossing is active. diff --git a/Gordon_Cole_MP3_Player/Gordon_Cole_MP3_Player.ino b/Gordon_Cole_MP3_Player/Gordon_Cole_MP3_Player.ino index 74011fbe..c6d97e2e 100644 --- a/Gordon_Cole_MP3_Player/Gordon_Cole_MP3_Player.ino +++ b/Gordon_Cole_MP3_Player/Gordon_Cole_MP3_Player.ino @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2017 Carter Nelson for Adafruit Industries +// +// SPDX-License-Identifier: MIT + // // Gordon Cole MP3 Player // diff --git a/MagTag_Quote_Board/code.py b/MagTag_Quote_Board/code.py index 0e0dc72d..9a5f0649 100644 --- a/MagTag_Quote_Board/code.py +++ b/MagTag_Quote_Board/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2020 Limor Fried for Adafruit Industries +# +# SPDX-License-Identifier: MIT + # MagTag Quote Board # Displays Quotes from the Adafruit quotes server # Be sure to put WiFi access point info in secrets.py file to connect diff --git a/PyPortal_ISS_Tracker/code.py b/PyPortal_ISS_Tracker/code.py index 6dc56318..33262733 100644 --- a/PyPortal_ISS_Tracker/code.py +++ b/PyPortal_ISS_Tracker/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2019 Carter Nelson for Adafruit Industries +# +# SPDX-License-Identifier: MIT + import time import math import board diff --git a/QT2040_Trinkey/qt2040_mcp9808_example/qt2040_mcp9808_example.ino b/QT2040_Trinkey/qt2040_mcp9808_example/qt2040_mcp9808_example.ino index ec07bf00..0c90e5ed 100644 --- a/QT2040_Trinkey/qt2040_mcp9808_example/qt2040_mcp9808_example.ino +++ b/QT2040_Trinkey/qt2040_mcp9808_example/qt2040_mcp9808_example.ino @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries +// +// SPDX-License-Identifier: MIT + /**************************************************************************/ /*! This is a demo for the Adafruit QT2040 Trinkey and the MCP9808 temperature diff --git a/Raspberry_Pi_Sensing_Movement/Raspberry_Pi_Sensing_Movement.py b/Raspberry_Pi_Sensing_Movement/Raspberry_Pi_Sensing_Movement.py index d519c0ca..90ac4a8a 100644 --- a/Raspberry_Pi_Sensing_Movement/Raspberry_Pi_Sensing_Movement.py +++ b/Raspberry_Pi_Sensing_Movement/Raspberry_Pi_Sensing_Movement.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2019 Mikey Sklar for Adafruit Industries +# +# SPDX-License-Identifier: MIT + import time import board import digitalio