summaryrefslogtreecommitdiff
path: root/wasp/drivers
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2020-03-22 15:40:18 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2020-03-22 15:40:18 (GMT)
commitb9fe31241c30bbcc0486f25bfe08af22fd20a555 (patch)
treeeeddfcb42898960fbfe9e9b1f715d5f911e45dec /wasp/drivers
parentf8bd1a74613a79cad56b5b60079402d40a87d131 (diff)
Add licensing information for all wasp-os files.
Diffstat (limited to 'wasp/drivers')
-rw-r--r--wasp/drivers/battery.py3
-rw-r--r--wasp/drivers/cst816s.py3
-rw-r--r--wasp/drivers/nrf_rtc.py3
-rw-r--r--wasp/drivers/signal.py3
-rw-r--r--wasp/drivers/st7789.py3
-rw-r--r--wasp/drivers/vibrator.py3
6 files changed, 18 insertions, 0 deletions
diff --git a/wasp/drivers/battery.py b/wasp/drivers/battery.py
index cc1eafb..c13f117 100644
--- a/wasp/drivers/battery.py
+++ b/wasp/drivers/battery.py
@@ -1,3 +1,6 @@
+# SPDX-License-Identifier: LGPL-3.0-or-later
+# Copyright (C) 2020 Daniel Thompson
+
# Generic lithium ion battery driver
from machine import Pin, ADC
diff --git a/wasp/drivers/cst816s.py b/wasp/drivers/cst816s.py
index 323b9cc..d0f3cd2 100644
--- a/wasp/drivers/cst816s.py
+++ b/wasp/drivers/cst816s.py
@@ -1,3 +1,6 @@
+# SPDX-License-Identifier: LGPL-3.0-or-later
+# Copyright (C) 2020 Daniel Thompson
+
"""Hynitron CST816S touch contoller driver for MicroPython.
After modifying this file we can test the changes by replacing the
diff --git a/wasp/drivers/nrf_rtc.py b/wasp/drivers/nrf_rtc.py
index d907461..497c3d6 100644
--- a/wasp/drivers/nrf_rtc.py
+++ b/wasp/drivers/nrf_rtc.py
@@ -1,3 +1,6 @@
+# SPDX-License-Identifier: LGPL-3.0-or-later
+# Copyright (C) 2020 Daniel Thompson
+
""" Real Time Clock based on the nRF-family low power counter """
import time
diff --git a/wasp/drivers/signal.py b/wasp/drivers/signal.py
index 18ce8bf..974adb5 100644
--- a/wasp/drivers/signal.py
+++ b/wasp/drivers/signal.py
@@ -1,3 +1,6 @@
+# SPDX-License-Identifier: LGPL-3.0-or-later
+# Copyright (C) 2020 Daniel Thompson
+
class Signal(object):
'''Simplified Signal class
diff --git a/wasp/drivers/st7789.py b/wasp/drivers/st7789.py
index 89ebc4c..980435b 100644
--- a/wasp/drivers/st7789.py
+++ b/wasp/drivers/st7789.py
@@ -1,3 +1,6 @@
+# SPDX-License-Identifier: LGPL-3.0-or-later
+# Copyright (C) 2020 Daniel Thompson
+
"""Sitronix ST7789 display driver for MicroPython.
Note: Although the ST7789 supports a variety of communication protocols
diff --git a/wasp/drivers/vibrator.py b/wasp/drivers/vibrator.py
index eba6018..3aee674 100644
--- a/wasp/drivers/vibrator.py
+++ b/wasp/drivers/vibrator.py
@@ -1,3 +1,6 @@
+# SPDX-License-Identifier: LGPL-3.0-or-later
+# Copyright (C) 2020 Daniel Thompson
+
# Generic PWM capable vibrator
import time