Merge pull request #2034 from adafruit/spdx-14
Added SPDX to 30 more files - spdx-14
This commit is contained in:
commit
06765d170a
30 changed files with 127 additions and 4 deletions
|
|
@ -1,3 +1,7 @@
|
||||||
|
# SPDX-FileCopyrightText: 2018 Kattni Rembor for Adafruit Industries
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
import time
|
import time
|
||||||
import array
|
import array
|
||||||
import math
|
import math
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
# SPDX-FileCopyrightText: 2018 Kattni Rembor for Adafruit Industries
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
import audiocore
|
import audiocore
|
||||||
import board
|
import board
|
||||||
import audiobusio
|
import audiobusio
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
# SPDX-FileCopyrightText: 2018 Kattni Rembor for Adafruit Industries
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
import board
|
import board
|
||||||
import audiobusio
|
import audiobusio
|
||||||
from microcontroller import Pin
|
from microcontroller import Pin
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,10 @@
|
||||||
|
// SPDX-FileCopyrightText: 2009 David A. Mellis
|
||||||
|
// SPDX-FileCopyrightText: 2009 Randall Bohn
|
||||||
|
// SPDX-FileCopyrightText: 2012 William Phelps
|
||||||
|
// SPDX-FileCopyrightText: 2019 Anne Barela for Adafruit Industries
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
// this sketch turns the Arduino into a AVRISP
|
// this sketch turns the Arduino into a AVRISP
|
||||||
// using the following pins:
|
// using the following pins:
|
||||||
// 10: slave reset
|
// 10: slave reset
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
# SPDX-FileCopyrightText: 2020 Carter Nelson for Adafruit Industries
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
import time
|
import time
|
||||||
import struct
|
import struct
|
||||||
import displayio
|
import displayio
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
# SPDX-FileCopyrightText: 2017 John Edgar Park for Adafruit Industries
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
# Chilled Drinkibot
|
# Chilled Drinkibot
|
||||||
|
|
||||||
import time
|
import time
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
# SPDX-FileCopyrightText: 2020 Eva Herrada for Adafruit Industries
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
import time
|
import time
|
||||||
import math
|
import math
|
||||||
from adafruit_circuitplayground import cp
|
from adafruit_circuitplayground import cp
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
// SPDX-FileCopyrightText: 2018 Limor Fried for Adafruit Industries
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
// Example code for recording and playing back servo motion with a
|
// Example code for recording and playing back servo motion with a
|
||||||
// analog feedback servo
|
// analog feedback servo
|
||||||
// http://www.adafruit.com/products/1404
|
// http://www.adafruit.com/products/1404
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
# SPDX-FileCopyrightText: 2019 Carter Nelson for Adafruit Industries
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
# Example code for calibrating analog feedback values to servo range
|
# Example code for calibrating analog feedback values to servo range
|
||||||
|
|
||||||
import time
|
import time
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
# SPDX-FileCopyrightText: 2019 Carter Nelson for Adafruit Industries
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
# Example code for recording and playing back servo motion with a
|
# Example code for recording and playing back servo motion with a
|
||||||
# analog feedback servo
|
# analog feedback servo
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
# SPDX-FileCopyrightText: 2019 Carter Nelson for Adafruit Industries
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
# Example code for using analog feedback value to seek a position
|
# Example code for using analog feedback value to seek a position
|
||||||
import board
|
import board
|
||||||
import pwmio
|
import pwmio
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,10 @@
|
||||||
|
// SPDX-FileCopyrightText: 2019 Tony DiCola for Adafruit Industries
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
// Example of buttons generating keyboard presses
|
// Example of buttons generating keyboard presses
|
||||||
// Author: Tony DiCola
|
// Author: Tony DiCola
|
||||||
// License: Public Domain
|
// License: MIT
|
||||||
#include <Keyboard.h>
|
#include <Keyboard.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,10 @@
|
||||||
|
// SPDX-FileCopyrightText: 2019 Tony DiCola for Adafruit Industries
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
// Example of capacitive sense buttons generating keyboard presses.
|
// Example of capacitive sense buttons generating keyboard presses.
|
||||||
// Author: Tony DiCola
|
// Author: Tony DiCola
|
||||||
// License: Public Domain
|
// License: MIT
|
||||||
#include <Keyboard.h>
|
#include <Keyboard.h>
|
||||||
#include <CapacitiveSensor.h>
|
#include <CapacitiveSensor.h>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,10 @@
|
||||||
|
// SPDX-FileCopyrightText: 2019 Tony DiCola for Adafruit Industries
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
// Example of tapping accelerometer to light NeoPixels.
|
// Example of tapping accelerometer to light NeoPixels.
|
||||||
// Author: Tony DiCola
|
// Author: Tony DiCola
|
||||||
// License: Public Domain
|
// License: MIT
|
||||||
#include <Adafruit_NeoPixel.h>
|
#include <Adafruit_NeoPixel.h>
|
||||||
#include <Wire.h>
|
#include <Wire.h>
|
||||||
#include <SPI.h>
|
#include <SPI.h>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,10 @@
|
||||||
|
// SPDX-FileCopyrightText: 2019 Tony DiCola for Adafruit Industries
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
// Example of rotating accelerometer to change NeoPixel color.
|
// Example of rotating accelerometer to change NeoPixel color.
|
||||||
// Author: Tony DiCola
|
// Author: Tony DiCola
|
||||||
// License: Public Domain
|
// License: MIT
|
||||||
#include <Adafruit_NeoPixel.h>
|
#include <Adafruit_NeoPixel.h>
|
||||||
#include <Wire.h>
|
#include <Wire.h>
|
||||||
#include <SPI.h>
|
#include <SPI.h>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
// SPDX-FileCopyrightText: 2017 Mikey Sklar for Adafruit Industries
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
/*
|
/*
|
||||||
LED VU meter for Arduino and Adafruit NeoPixel LEDs. More info: http://learn.adafruit.com/led-ampli-tie/
|
LED VU meter for Arduino and Adafruit NeoPixel LEDs. More info: http://learn.adafruit.com/led-ampli-tie/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
# SPDX-FileCopyrightText: 2021 Liz Clark for Adafruit Industries
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
import board
|
import board
|
||||||
import displayio
|
import displayio
|
||||||
import digitalio
|
import digitalio
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
# SPDX-FileCopyrightText: 2020 Eva Herrada for Adafruit Industries
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
# Based on code written by @DavidGlaude on Twitter
|
# Based on code written by @DavidGlaude on Twitter
|
||||||
# https://twitter.com/DavidGlaude/status/1340365817138044933
|
# https://twitter.com/DavidGlaude/status/1340365817138044933
|
||||||
# https://gist.github.com/dglaude/4bf8d0a13c9c8ca8b05d6c0e9176bd20
|
# https://gist.github.com/dglaude/4bf8d0a13c9c8ca8b05d6c0e9176bd20
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
# SPDX-FileCopyrightText: 2020 Eva Herrada for Adafruit Industries
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
# This file is where you keep secret settings, passwords, and tokens!
|
# This file is where you keep secret settings, passwords, and tokens!
|
||||||
# If you put them in the code you risk committing that info or sharing it
|
# If you put them in the code you risk committing that info or sharing it
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
# SPDX-FileCopyrightText: 2021 Carter Nelson for Adafruit Industries
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
import time
|
import time
|
||||||
import board
|
import board
|
||||||
import displayio
|
import displayio
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
# SPDX-FileCopyrightText: 2018 jenfoxbot@gmail.com
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
# Minecraft Gesture Controller
|
# Minecraft Gesture Controller
|
||||||
#
|
#
|
||||||
# Written by <jenfoxbot@gmail.com>
|
# Written by <jenfoxbot@gmail.com>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
// SPDX-FileCopyrightText: 2018 Limor Fried for Adafruit Industries
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
#include <Adafruit_NeoPixel.h>
|
#include <Adafruit_NeoPixel.h>
|
||||||
#ifdef __AVR__
|
#ifdef __AVR__
|
||||||
#include <avr/power.h>
|
#include <avr/power.h>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
# SPDX-FileCopyrightText: 2018 Limor Fried for Adafruit Industries
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
import time
|
import time
|
||||||
|
|
||||||
import board
|
import board
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
# SPDX-FileCopyrightText: 2020 Anne Barela for Adafruit Industries
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
import board
|
import board
|
||||||
import displayio
|
import displayio
|
||||||
import busio
|
import busio
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
# SPDX-FileCopyrightText: 2020 Anne Barela for Adafruit Industries
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
secrets = {
|
secrets = {
|
||||||
'ssid' : '_your_wifi_ssid_',
|
'ssid' : '_your_wifi_ssid_',
|
||||||
'password' : '_your_wifi_password_',
|
'password' : '_your_wifi_password_',
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
# SPDX-FileCopyrightText: 2019 Limor Fried for Adafruit Industries
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
"""
|
"""
|
||||||
This example will figure out the current local time using the internet, and
|
This example will figure out the current local time using the internet, and
|
||||||
then draw out a countdown clock until an event occurs!
|
then draw out a countdown clock until an event occurs!
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
# SPDX-FileCopyrightText: 2020 Jeff Epler for Adafruit Industries
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
import random
|
import random
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
# SPDX-FileCopyrightText: 2019 Carter Nelson for Adafruit Industries
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
import time
|
import time
|
||||||
from collections import deque
|
from collections import deque
|
||||||
import random
|
import random
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
# SPDX-FileCopyrightText: 2019 Carter Nelson for Adafruit Industries
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
from collections import deque
|
from collections import deque
|
||||||
import psutil
|
import psutil
|
||||||
# Blinka CircuitPython
|
# Blinka CircuitPython
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,7 @@
|
||||||
|
# SPDX-FileCopyrightText: 2019 Carter Nelson for Adafruit Industries
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
import time
|
import time
|
||||||
from collections import deque
|
from collections import deque
|
||||||
import psutil
|
import psutil
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue