Skip to content

Commit a14e7f2

Browse files
authored
Merge pull request #1897 from dherrada/spdx_-5
PR -5 Did 18 more projects
2 parents d8feedf + f4d312f commit a14e7f2

47 files changed

Lines changed: 194 additions & 1 deletion

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Tilemap_Game_With_CircuitPython/basic_movement/code.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2020 FoamyGuy for Adafruit Industries
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
import board
26
import displayio
37
import adafruit_imageload

Tilemap_Game_With_CircuitPython/basic_movement_transparent_sprite/code.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2020 FoamyGuy for Adafruit Industries
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
import board
26
import displayio
37
import adafruit_imageload

Tilemap_Game_With_CircuitPython/basic_rendering/code.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# SPDX-FileCopyrightText: 2019 Carter Nelson for Adafruit Industries
2+
# SPDX-FileCopyrightText: 2020 FoamyGuy for Adafruit Industries
3+
#
4+
# SPDX-License-Identifier: MIT
5+
16
import board
27
import displayio
38
import adafruit_imageload

Tilemap_Game_With_CircuitPython/code.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2020 FoamyGuy for Adafruit Industries
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
import time
26
import random
37
import gc
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# SPDX-FileCopyrightText: 2018 Limor Fried/ladyada for Adafruit Industries
2+
# SPDX-FileCopyrightText: 2019 Brennen Bearnes for Adafruit Industries
3+
#
4+
# SPDX-License-Identifier: MIT

Tilemap_Game_With_CircuitPython/tilegame_assets/fun_facts.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2020 FoamyGuy for Adafruit Industries
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
# pylint: disable=line-too-long
26
# Fun facts to be read to the player by Minerva
37
FACTS = [

Tilemap_Game_With_CircuitPython/tilegame_assets/states.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2020 FoamyGuy for Adafruit Industries
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
# State machine constants
26

37
# playing the game: draw the map, listen for D-pad buttons to move player

Tilemap_Game_With_CircuitPython/tilegame_assets/text_helper.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2020 FoamyGuy for Adafruit Industries
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
def wrap_nicely(string, max_chars):
26
""" From: https://www.richa1.com/RichardAlbritton/circuitpython-word-wrap-for-label-text/
37
A helper that will return the string with word-break wrapping.

Tilemap_Game_With_CircuitPython/tilegame_assets/tiles.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2020 FoamyGuy for Adafruit Industries
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
from tilegame_assets.states import (
26
STATE_MAPWIN,
37
STATE_LOST_SPARKY,

Tilt_Controlled_Servo_Driver/code.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2019 Melissa LeBlanc-Williams for Adafruit Industries
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
"""
26
In this Demo we will drive two servos based on the Tilt along the Y and Z axis
37
of the BNO055 9-Degrees of Freedom IMU Sensor. This could easily be extended

0 commit comments

Comments
 (0)