From 002b01d572c85c6a46b5b18e45d0eee78cbbd661 Mon Sep 17 00:00:00 2001 From: BlueFox Date: Sat, 16 Nov 2024 16:38:09 +0100 Subject: [PATCH] Added license texts at the beginning of all programs started from the main menu --- programs/demos.py | 11 +++++++++++ programs/manual.py | 11 +++++++++++ programs/settings.py | 11 +++++++++++ programs/timer.py | 11 +++++++++++ 4 files changed, 44 insertions(+) diff --git a/programs/demos.py b/programs/demos.py index 46f9da8..6071f00 100644 --- a/programs/demos.py +++ b/programs/demos.py @@ -1,3 +1,14 @@ +""" +uv-belichter-software - the DEMOS submenu +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 gc import collect # All the arguments this method takes are there for one reason: reduce the amount of libraries loaded into the picos memory and thus improving performance diff --git a/programs/manual.py b/programs/manual.py index 1fb76c6..15ef8a9 100644 --- a/programs/manual.py +++ b/programs/manual.py @@ -1,3 +1,14 @@ +""" +uv-belichter-software - the MANUAL program (started from the main menu) +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 . +""" + def run(config): config.LCD.clear() set_value = config.PIN_OUT_RELAIS.value() diff --git a/programs/settings.py b/programs/settings.py index 5a45a68..fd3dc23 100644 --- a/programs/settings.py +++ b/programs/settings.py @@ -1,3 +1,14 @@ +""" +uv-belichter-software - the SETTINGS submenu +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 time import sleep, time_ns # All the arguments this method takes are there for one reason: reduce the amount of libraries loaded into the picos memory and thus improving performance diff --git a/programs/timer.py b/programs/timer.py index 85b59ce..990b9b1 100644 --- a/programs/timer.py +++ b/programs/timer.py @@ -1,3 +1,14 @@ +""" +uv-belichter-software - the TIMER submenu +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 time import sleep, time_ns # All the arguments this method takes are there for one reason: reduce the amount of libraries loaded into the picos memory and thus improving performance