Skip to content

Commit 96af79b

Browse files
author
danicampora
committed
pycom-libraries: Add missing license headers.
1 parent b985685 commit 96af79b

File tree

117 files changed

+1086
-23
lines changed

Some content is hidden

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

117 files changed

+1086
-23
lines changed

deepsleep/deepsleep.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
#!/usr/bin/env python
2+
#
3+
# Copyright (c) 2019, Pycom Limited.
4+
#
5+
# This software is licensed under the GNU GPL version 3 or any
6+
# later version, with permitted additional terms. For more information
7+
# see the Pycom Licence v1.0 document supplied with this file, or
8+
# available at https://www.pycom.io/opensource/licensing
9+
#
10+
111
from machine import UART
212
from machine import Pin
313
import pycom

examples/DS18X20/boot.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
#!/usr/bin/env python
2+
#
3+
# Copyright (c) 2019, Pycom Limited.
4+
#
5+
# This software is licensed under the GNU GPL version 3 or any
6+
# later version, with permitted additional terms. For more information
7+
# see the Pycom Licence v1.0 document supplied with this file, or
8+
# available at https://www.pycom.io/opensource/licensing
9+
#
10+
111
from machine import UART
212
import machine
313
import os

examples/DS18X20/main.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
#!/usr/bin/env python
2+
#
3+
# Copyright (c) 2019, Pycom Limited.
4+
#
5+
# This software is licensed under the GNU GPL version 3 or any
6+
# later version, with permitted additional terms. For more information
7+
# see the Pycom Licence v1.0 document supplied with this file, or
8+
# available at https://www.pycom.io/opensource/licensing
9+
#
10+
111
import time
212
from machine import Pin
313
from onewire import DS18X20

examples/DS18X20/onewire.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
#!/usr/bin/env python3
1+
#!/usr/bin/env python
2+
#
3+
# Copyright (c) 2019, Pycom Limited.
4+
#
5+
# This software is licensed under the GNU GPL version 3 or any
6+
# later version, with permitted additional terms. For more information
7+
# see the Pycom Licence v1.0 document supplied with this file, or
8+
# available at https://www.pycom.io/opensource/licensing
9+
#
210

311
"""
412
OneWire library for MicroPython

examples/OTA-lorawan/LoraServer.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
1-
#!/usr/bin/env python3
2-
1+
#!/usr/bin/env python
2+
#
3+
# Copyright (c) 2019, Pycom Limited.
4+
#
5+
# This software is licensed under the GNU GPL version 3 or any
6+
# later version, with permitted additional terms. For more information
7+
# see the Pycom Licence v1.0 document supplied with this file, or
8+
# available at https://www.pycom.io/opensource/licensing
9+
#
310

411
import urllib.request
512
import binascii

examples/OTA-lorawan/config.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
1-
#!/usr/bin/env python3
2-
1+
#!/usr/bin/env python
2+
#
3+
# Copyright (c) 2019, Pycom Limited.
4+
#
5+
# This software is licensed under the GNU GPL version 3 or any
6+
# later version, with permitted additional terms. For more information
7+
# see the Pycom Licence v1.0 document supplied with this file, or
8+
# available at https://www.pycom.io/opensource/licensing
9+
#
310

411
#LORASERVER configuration
512
LORASERVER_IP = "127.0.0.1"

examples/OTA-lorawan/diff_match_patch.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
#!/usr/bin/python3
1+
#!/usr/bin/env python
2+
#
3+
# Copyright (c) 2019, Pycom Limited.
4+
#
5+
# This software is licensed under the GNU GPL version 3 or any
6+
# later version, with permitted additional terms. For more information
7+
# see the Pycom Licence v1.0 document supplied with this file, or
8+
# available at https://www.pycom.io/opensource/licensing
9+
#
210

311
"""Diff Match and Patch
412
Copyright 2018 The diff-match-patch Authors.

examples/OTA-lorawan/firmware/1.17.0/flash/diff_match_patch.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
#!/usr/bin/python2.7
1+
#!/usr/bin/env python
2+
#
3+
# Copyright (c) 2019, Pycom Limited.
4+
#
5+
# This software is licensed under the GNU GPL version 3 or any
6+
# later version, with permitted additional terms. For more information
7+
# see the Pycom Licence v1.0 document supplied with this file, or
8+
# available at https://www.pycom.io/opensource/licensing
9+
#
210

311
#from __future__ import division
412

examples/OTA-lorawan/firmware/1.17.0/flash/loranet.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
#!/usr/bin/env python
2+
#
3+
# Copyright (c) 2019, Pycom Limited.
4+
#
5+
# This software is licensed under the GNU GPL version 3 or any
6+
# later version, with permitted additional terms. For more information
7+
# see the Pycom Licence v1.0 document supplied with this file, or
8+
# available at https://www.pycom.io/opensource/licensing
9+
#
10+
111
from network import LoRa
212
import socket
313
import binascii

examples/OTA-lorawan/firmware/1.17.0/flash/main.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
#!/usr/bin/env python
2+
#
3+
# Copyright (c) 2019, Pycom Limited.
4+
#
5+
# This software is licensed under the GNU GPL version 3 or any
6+
# later version, with permitted additional terms. For more information
7+
# see the Pycom Licence v1.0 document supplied with this file, or
8+
# available at https://www.pycom.io/opensource/licensing
9+
#
10+
111
from loranet import LoraNet
212
from ota import LoraOTA
313
from network import LoRa

0 commit comments

Comments
 (0)