From 9fbe6dc864cb67f4137e4db5f4869a2fc60a55e4 Mon Sep 17 00:00:00 2001 From: dherrada Date: Wed, 2 Mar 2022 13:26:28 -0500 Subject: [PATCH] Did last 19 files --- Astrophotography_Tracker/code.py | 4 ++++ Crickit_FlippyBot/BluefruitConfig.h | 4 ++++ Crickit_FlippyBot/Crickit_FlippyBot.ino | 4 ++++ Crickit_FlippyBot/packetParser.cpp | 4 ++++ Disc_Step_Sequencer/code.py | 4 ++++ .../built_in_led_on_off_delay/code.py | 4 ++++ .../burglar_alarm_on_off_light_and_sound/code.py | 4 ++++ Getting_Started_With_Raspberry_Pi_Pico/button_and_led/code.py | 4 ++++ .../button_and_led_short/code.py | 4 ++++ .../data_logger_boot/code.py | 4 ++++ .../external_led_on_off_delay/code.py | 4 ++++ .../indefinite_loop/code.py | 4 ++++ .../potentiometer_read/code.py | 4 ++++ .../reaction_game_two_player/code.py | 4 ++++ MagTag_Google_Sheets/naughty_nice/code.py | 4 ++++ MagTag_Google_Sheets/weekly_planner/code.py | 4 ++++ NeoPixel_Blinkendisc/NeoPixel_Blinkendisc.ino | 4 ++++ NeoPixel_Blinkendisc/code.py | 4 ++++ Pico_MIDI_Fighter/code.py | 4 ++++ 19 files changed, 76 insertions(+) diff --git a/Astrophotography_Tracker/code.py b/Astrophotography_Tracker/code.py index a02daf312..5d26f4a96 100644 --- a/Astrophotography_Tracker/code.py +++ b/Astrophotography_Tracker/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2020 Eva Herrada for Adafruit Industries +# +# SPDX-License-Identifier: MIT + import time import board import digitalio diff --git a/Crickit_FlippyBot/BluefruitConfig.h b/Crickit_FlippyBot/BluefruitConfig.h index 86260e3ff..489cab524 100644 --- a/Crickit_FlippyBot/BluefruitConfig.h +++ b/Crickit_FlippyBot/BluefruitConfig.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2018 Limor Fried for Adafruit Industries +// +// SPDX-License-Identifier: MIT + // COMMON SETTINGS // ---------------------------------------------------------------------------------------------- // These settings are used in both SW UART, HW UART and SPI mode diff --git a/Crickit_FlippyBot/Crickit_FlippyBot.ino b/Crickit_FlippyBot/Crickit_FlippyBot.ino index 64bd73040..2bc6c3f68 100644 --- a/Crickit_FlippyBot/Crickit_FlippyBot.ino +++ b/Crickit_FlippyBot/Crickit_FlippyBot.ino @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2018 Dave Astels for Adafruit Industries +// +// SPDX-License-Identifier: MIT + // Triangular leg robot. // Bluetooth code is from Feather M0 Bluefruit controller example. diff --git a/Crickit_FlippyBot/packetParser.cpp b/Crickit_FlippyBot/packetParser.cpp index 29942be57..6e138520f 100644 --- a/Crickit_FlippyBot/packetParser.cpp +++ b/Crickit_FlippyBot/packetParser.cpp @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2018 Limor Fried for Adafruit Industries +// +// SPDX-License-Identifier: MIT + #include #include #include diff --git a/Disc_Step_Sequencer/code.py b/Disc_Step_Sequencer/code.py index f7e829555..8f26a503c 100644 --- a/Disc_Step_Sequencer/code.py +++ b/Disc_Step_Sequencer/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2018 Dave Astels for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ Opto Mechanical Disc Step Sequencer from John Park's Workshop Crickit Feather M4 Express, Crickit FeatherWing, continuous servo, diff --git a/Getting_Started_With_Raspberry_Pi_Pico/built_in_led_on_off_delay/code.py b/Getting_Started_With_Raspberry_Pi_Pico/built_in_led_on_off_delay/code.py index 52f749335..b1d600bd7 100644 --- a/Getting_Started_With_Raspberry_Pi_Pico/built_in_led_on_off_delay/code.py +++ b/Getting_Started_With_Raspberry_Pi_Pico/built_in_led_on_off_delay/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_off_light_and_sound/code.py b/Getting_Started_With_Raspberry_Pi_Pico/burglar_alarm_on_off_light_and_sound/code.py index 291219589..719b706fa 100644 --- a/Getting_Started_With_Raspberry_Pi_Pico/burglar_alarm_on_off_light_and_sound/code.py +++ b/Getting_Started_With_Raspberry_Pi_Pico/burglar_alarm_on_off_light_and_sound/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 and beeping buzzer indicate alarm has been triggered. diff --git a/Getting_Started_With_Raspberry_Pi_Pico/button_and_led/code.py b/Getting_Started_With_Raspberry_Pi_Pico/button_and_led/code.py index 6c5afc246..a45757e2f 100644 --- a/Getting_Started_With_Raspberry_Pi_Pico/button_and_led/code.py +++ b/Getting_Started_With_Raspberry_Pi_Pico/button_and_led/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ Button and LED example for Pico. Turns on LED when button is pressed. diff --git a/Getting_Started_With_Raspberry_Pi_Pico/button_and_led_short/code.py b/Getting_Started_With_Raspberry_Pi_Pico/button_and_led_short/code.py index 5ad7a3a07..be14e2840 100644 --- a/Getting_Started_With_Raspberry_Pi_Pico/button_and_led_short/code.py +++ b/Getting_Started_With_Raspberry_Pi_Pico/button_and_led_short/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ Button and LED example for Pico. Turns on LED when button is pressed. diff --git a/Getting_Started_With_Raspberry_Pi_Pico/data_logger_boot/code.py b/Getting_Started_With_Raspberry_Pi_Pico/data_logger_boot/code.py index 83a49ab91..21f956601 100644 --- a/Getting_Started_With_Raspberry_Pi_Pico/data_logger_boot/code.py +++ b/Getting_Started_With_Raspberry_Pi_Pico/data_logger_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 pin GP0 is connected to GND when the pico starts up, make the filesystem writeable by CircuitPython. diff --git a/Getting_Started_With_Raspberry_Pi_Pico/external_led_on_off_delay/code.py b/Getting_Started_With_Raspberry_Pi_Pico/external_led_on_off_delay/code.py index 618049f69..ba3861fbe 100644 --- a/Getting_Started_With_Raspberry_Pi_Pico/external_led_on_off_delay/code.py +++ b/Getting_Started_With_Raspberry_Pi_Pico/external_led_on_off_delay/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ LED example for Pico. Blinks external LED on and off. diff --git a/Getting_Started_With_Raspberry_Pi_Pico/indefinite_loop/code.py b/Getting_Started_With_Raspberry_Pi_Pico/indefinite_loop/code.py index a1e1cf9f1..52b7f86f0 100644 --- a/Getting_Started_With_Raspberry_Pi_Pico/indefinite_loop/code.py +++ b/Getting_Started_With_Raspberry_Pi_Pico/indefinite_loop/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """Example of infinite loop. Final print statement is never reached.""" print("Loop starting!") while True: diff --git a/Getting_Started_With_Raspberry_Pi_Pico/potentiometer_read/code.py b/Getting_Started_With_Raspberry_Pi_Pico/potentiometer_read/code.py index 89ea184a5..2115096cc 100644 --- a/Getting_Started_With_Raspberry_Pi_Pico/potentiometer_read/code.py +++ b/Getting_Started_With_Raspberry_Pi_Pico/potentiometer_read/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ Read the potentiometer value. Prints the value to the serial console every two seconds. diff --git a/Getting_Started_With_Raspberry_Pi_Pico/reaction_game_two_player/code.py b/Getting_Started_With_Raspberry_Pi_Pico/reaction_game_two_player/code.py index 6161626f2..dfe895657 100644 --- a/Getting_Started_With_Raspberry_Pi_Pico/reaction_game_two_player/code.py +++ b/Getting_Started_With_Raspberry_Pi_Pico/reaction_game_two_player/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ Two-player reaction game example for Pico. LED turns on for between 5 and 10 seconds. Once it turns off, try to press the button faster than the other player to see who wins. diff --git a/MagTag_Google_Sheets/naughty_nice/code.py b/MagTag_Google_Sheets/naughty_nice/code.py index 9e899fb27..3510ca889 100755 --- a/MagTag_Google_Sheets/naughty_nice/code.py +++ b/MagTag_Google_Sheets/naughty_nice/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2020 Phillip Burgess for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ Google Sheets to MagTag example: Naughty or Nice? Gets tab-separated-value (TSV) spreadsheet from Google, displays names from diff --git a/MagTag_Google_Sheets/weekly_planner/code.py b/MagTag_Google_Sheets/weekly_planner/code.py index 097047f7c..0e4f30834 100755 --- a/MagTag_Google_Sheets/weekly_planner/code.py +++ b/MagTag_Google_Sheets/weekly_planner/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2020 Phillip Burgess for Adafruit Industries +# +# SPDX-License-Identifier: MIT + """ Google Sheets to MagTag example: Weekly Planner. Gets tab-separated-value (TSV) spreadsheet from Google, displays task list diff --git a/NeoPixel_Blinkendisc/NeoPixel_Blinkendisc.ino b/NeoPixel_Blinkendisc/NeoPixel_Blinkendisc.ino index a75a3bb79..8b3c4c335 100644 --- a/NeoPixel_Blinkendisc/NeoPixel_Blinkendisc.ino +++ b/NeoPixel_Blinkendisc/NeoPixel_Blinkendisc.ino @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2017 Phillip Burgess for Adafruit Industries +// +// SPDX-License-Identifier: MIT + #include #define NUM_LEDS 24 // 24 LED NeoPixel ring diff --git a/NeoPixel_Blinkendisc/code.py b/NeoPixel_Blinkendisc/code.py index c77af09f8..65bc14072 100644 --- a/NeoPixel_Blinkendisc/code.py +++ b/NeoPixel_Blinkendisc/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2017 Phillip Burgess for Adafruit Industries +# +# SPDX-License-Identifier: MIT + import time import analogio diff --git a/Pico_MIDI_Fighter/code.py b/Pico_MIDI_Fighter/code.py index 43c65b3c7..124c57597 100644 --- a/Pico_MIDI_Fighter/code.py +++ b/Pico_MIDI_Fighter/code.py @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 Liz Clark for Adafruit Industries +# +# SPDX-License-Identifier: MIT + import time import board import displayio