Merge pull request #2042 from adafruit/spdx-22

Added SPDX to 30 more files - spdx-22
This commit is contained in:
Anne Barela 2022-02-23 13:31:08 -05:00 committed by GitHub
commit eda9d52251
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 127 additions and 2 deletions

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2020 Brent Rubell for Adafruit Industries
#
# SPDX-License-Identifier: MIT
import time import time
import board import board
import busio import busio

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries
#
# SPDX-License-Identifier: MIT
"""CircuitPython Capacitive Touch HID Example for Neo Trinkey""" """CircuitPython Capacitive Touch HID Example for Neo Trinkey"""
import time import time
import board import board

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries
#
# SPDX-License-Identifier: MIT
"""CircuitPython Capacitive Touch NeoPixel Brightness Control Example""" """CircuitPython Capacitive Touch NeoPixel Brightness Control Example"""
import time import time
import board import board

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2021 Kattni Rembor for Adafruit Industries
#
# SPDX-License-Identifier: MIT
"""CircuitPython NeoPixel Blink example - blinking the built-in NeoPixels.""" """CircuitPython NeoPixel Blink example - blinking the built-in NeoPixels."""
import time import time
import board import board

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2020 Kattni Rembor for Adafruit Industries
#
# SPDX-License-Identifier: MIT
import time import time
import board import board
import digitalio import digitalio

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2017 Kattni Rembor for Adafruit Industries
#
# SPDX-License-Identifier: MIT
from adafruit_circuitplayground.express import cpx from adafruit_circuitplayground.express import cpx
while True: while True:

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2019 Anne Barela for Adafruit Industries
#
# SPDX-License-Identifier: MIT
# Vertical Word Clock using the Adafruit Feather M4 and # Vertical Word Clock using the Adafruit Feather M4 and
# the Adafruit DS3231 real-time clock FeatherWing # the Adafruit DS3231 real-time clock FeatherWing

View file

@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2019 Limor Fried for Adafruit Industries
# SPDX-FileCopyrightText: 2019 Anne Barela for Adafruit Industries
#
# SPDX-License-Identifier: MIT
# Write the time for the Adafruit DS3231 real-time clock. # Write the time for the Adafruit DS3231 real-time clock.
# Limor Fried/Anne Barela for Adafruit Industries # Limor Fried/Anne Barela for Adafruit Industries

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2018 Limor Fried for Adafruit Industries
#
# SPDX-License-Identifier: MIT
# CircuitPython 3.0 CRICKIT demo # CircuitPython 3.0 CRICKIT demo
import time import time

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2018 Limor Fried for Adafruit Industries
#
# SPDX-License-Identifier: MIT
import time import time
#import math #import math
import array import array

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2018 Limor Fried for Adafruit Industries
#
# SPDX-License-Identifier: MIT
import time import time
import audioio import audioio
import audiocore import audiocore

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2018 Limor Fried for Adafruit Industries
#
# SPDX-License-Identifier: MIT
import time import time
from busio import I2C from busio import I2C
from adafruit_seesaw.seesaw import Seesaw from adafruit_seesaw.seesaw import Seesaw

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2018 Limor Fried for Adafruit Industries
#
# SPDX-License-Identifier: MIT
import time import time
import random import random
import audioio import audioio

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2018 Limor Fried for Adafruit Industries
#
# SPDX-License-Identifier: MIT
import time import time
import audioio import audioio
import audiocore import audiocore

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2017 Limor Fried for Adafruit Industries
#
# SPDX-License-Identifier: MIT
# Save as boot.py to turn on/off datalogging capability # Save as boot.py to turn on/off datalogging capability
import digitalio import digitalio

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2018 Limor Fried for Adafruit Industries
#
# SPDX-License-Identifier: MIT
import time import time
from digitalio import DigitalInOut, Direction, Pull from digitalio import DigitalInOut, Direction, Pull
import adafruit_lis3dh import adafruit_lis3dh

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2018 Limor Fried for Adafruit Industries
#
# SPDX-License-Identifier: MIT
import time import time
from busio import I2C from busio import I2C
from adafruit_seesaw.seesaw import Seesaw from adafruit_seesaw.seesaw import Seesaw

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2018 Limor Fried for Adafruit Industries
#
# SPDX-License-Identifier: MIT
# CircuitPython 3.0 CRICKIT demo # CircuitPython 3.0 CRICKIT demo
import time import time
from digitalio import DigitalInOut, Direction, Pull from digitalio import DigitalInOut, Direction, Pull

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2018 Limor Fried for Adafruit Industries
#
# SPDX-License-Identifier: MIT
#import time #import time
from busio import I2C from busio import I2C
from adafruit_seesaw.seesaw import Seesaw from adafruit_seesaw.seesaw import Seesaw

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2018 Limor Fried for Adafruit Industries
#
# SPDX-License-Identifier: MIT
import time import time
from digitalio import DigitalInOut, Direction from digitalio import DigitalInOut, Direction
from adafruit_seesaw.seesaw import Seesaw from adafruit_seesaw.seesaw import Seesaw

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2018 Limor Fried for Adafruit Industries
#
# SPDX-License-Identifier: MIT
# pylint: disable=wrong-import-position # pylint: disable=wrong-import-position
import time import time
import gc import gc

View file

@ -1,3 +1,9 @@
// SPDX-FileCopyrightText: 2014 Benoit Blanchon
// SPDX-FileCopyrightText: 2014 Arturo Guadalupi
// SPDX-FileCopyrightText: 2020 Brent Rubell for Adafruit Industries
//
// SPDX-License-Identifier: MIT
/* /*
This example creates a client object that connects and transfers This example creates a client object that connects and transfers
data using always SSL, then shows how to parse a JSON document in an HTTP response. data using always SSL, then shows how to parse a JSON document in an HTTP response.
@ -218,4 +224,4 @@ void printWifiStatus() {
Serial.print("signal strength (RSSI):"); Serial.print("signal strength (RSSI):");
Serial.print(rssi); Serial.print(rssi);
Serial.println(" dBm"); Serial.println(" dBm");
} }

View file

@ -1,3 +1,8 @@
// SPDX-FileCopyrightText: 2015 Arturo Guadalupi
// SPDX-FileCopyrightText: 2020 Brent Rubell for Adafruit Industries
//
// SPDX-License-Identifier: MIT
/* /*
This example creates a client object that connects and transfers This example creates a client object that connects and transfers
data using always SSL. data using always SSL.
@ -104,4 +109,4 @@ void printWifiStatus() {
Serial.print("signal strength (RSSI):"); Serial.print("signal strength (RSSI):");
Serial.print(rssi); Serial.print(rssi);
Serial.println(" dBm"); Serial.println(" dBm");
} }

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2020 Brent Rubell for Adafruit Industries
//
// SPDX-License-Identifier: MIT
/* /*
Web client Web client

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2020 Brent Rubell for Adafruit Industries
#
# SPDX-License-Identifier: MIT
import ipaddress import ipaddress
import ssl import ssl
import wifi import wifi

View file

@ -1,3 +1,8 @@
// SPDX-FileCopyrightText: 2019 Limor Fried for Adafruit Industries
// SPDX-FileCopyrightText: 2019 Becky Stern for Adafruit Industries
//
// SPDX-License-Identifier: MIT
/* /*
Example code for a Flora game controller with capacitive touch sensing! Full tutorial and video: Example code for a Flora game controller with capacitive touch sensing! Full tutorial and video:
http://learn.adafruit.com/plush-game-controller/ http://learn.adafruit.com/plush-game-controller/

View file

@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2017 Mikey Sklar for Adafruit Industries
//
// SPDX-License-Identifier: MIT
#include <Adafruit_NeoPixel.h> #include <Adafruit_NeoPixel.h>
#define PIN 1 #define PIN 1
#define NUM_LEDS 3 #define NUM_LEDS 3

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2017 Mikey Sklar for Adafruit Industries
#
# SPDX-License-Identifier: MIT
import time import time
import board import board

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2018 Dave Astels for Adafruit Industries
#
# SPDX-License-Identifier: MIT
""" """
NeoTrellis M4 Express Memory Game NeoTrellis M4 Express Memory Game

View file

@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2020 Limor Fried for Adafruit Industries
#
# SPDX-License-Identifier: MIT
import time import time
import board import board
import displayio import displayio