From 59ced8713974f86ac42bd3285803ae799c5d6987 Mon Sep 17 00:00:00 2001 From: BlueFox Date: Sun, 10 Mar 2024 15:31:07 +0100 Subject: [PATCH] Added license indicators at the beginning of all code files --- PCF8574.py | 3 +++ ProgramChooser.py | 11 +++++++++++ examples/lcd_big_hello.py | 12 +++++++++++- examples/main.py | 11 +++++++++++ 4 files changed, 36 insertions(+), 1 deletion(-) diff --git a/PCF8574.py b/PCF8574.py index 83edf42..9a54f79 100644 --- a/PCF8574.py +++ b/PCF8574.py @@ -1,3 +1,6 @@ +# https://github.com/T-622/RPI-PICO-I2C-LCD +# Original driver by Tyler Peppy, modified by Benjamin Burkhardt (2024) + """ MIT License diff --git a/ProgramChooser.py b/ProgramChooser.py index 00c8fdc..7c7b306 100644 --- a/ProgramChooser.py +++ b/ProgramChooser.py @@ -1,3 +1,14 @@ +""" +ProgramChooser - a program launcher for microPython +Copyright (C) 2024 Benjamin Burkhardt + +This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along with this program. If not, see . +""" + from machine import Pin, I2C from PCF8574 import I2C_LCD import time diff --git a/examples/lcd_big_hello.py b/examples/lcd_big_hello.py index eef6d9c..b2c33be 100644 --- a/examples/lcd_big_hello.py +++ b/examples/lcd_big_hello.py @@ -1,5 +1,15 @@ """ -@ Copyright: 2023, Benjamin Burkhardt +An example "program" which can be used with the ProgramChooser library, see also main.py +Copyright (C) 2024 Benjamin Burkhardt + +This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along with this program. If not, see . +""" + +""" @ Feature: Fades "HELLO" over two lines in and out """ diff --git a/examples/main.py b/examples/main.py index cfc8c6b..a315ea3 100644 --- a/examples/main.py +++ b/examples/main.py @@ -1,3 +1,14 @@ +""" +An example main.py which makes use of the ProgramChooser library +Copyright (C) 2024 Benjamin Burkhardt + +This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along with this program. If not, see . +""" + from ProgramChooser import ProgramChooser def micronec():