From 5bfc85200c67712a917527618f86ce2db462dc4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Wed, 27 Apr 2016 13:32:45 +0200 Subject: [PATCH] add license --- libguh/hardware/gpiomonitor.cpp | 2 +- libguh/hardware/gpiomonitor.h | 2 +- libguh/hardware/pwm.cpp | 20 +++++++++++++++++++ libguh/hardware/pwm.h | 20 +++++++++++++++++++ libguh/hardware/radio433/radio433.cpp | 4 ++-- libguh/hardware/radio433/radio433.h | 2 +- .../hardware/radio433/radio433transmitter.cpp | 2 +- .../hardware/radio433/radio433transmitter.h | 2 +- 8 files changed, 47 insertions(+), 7 deletions(-) diff --git a/libguh/hardware/gpiomonitor.cpp b/libguh/hardware/gpiomonitor.cpp index d018e7a7..91b98bb7 100644 --- a/libguh/hardware/gpiomonitor.cpp +++ b/libguh/hardware/gpiomonitor.cpp @@ -1,6 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - * Copyright (C) 2015 Simon Stürz * + * Copyright (C) 2015 -2016 Simon Stürz * * * * This file is part of guh. * * * diff --git a/libguh/hardware/gpiomonitor.h b/libguh/hardware/gpiomonitor.h index ea16f372..20165bd2 100644 --- a/libguh/hardware/gpiomonitor.h +++ b/libguh/hardware/gpiomonitor.h @@ -1,6 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - * Copyright (C) 2015 Simon Stürz * + * Copyright (C) 2015 -2016 Simon Stürz * * * * This file is part of guh. * * * diff --git a/libguh/hardware/pwm.cpp b/libguh/hardware/pwm.cpp index 41eebdc0..6eeb40bd 100644 --- a/libguh/hardware/pwm.cpp +++ b/libguh/hardware/pwm.cpp @@ -1,3 +1,23 @@ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 -2016 Simon Stürz * + * * + * This file is part of guh. * + * * + * Guh 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, version 2 of the License. * + * * + * Guh 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 guh. If not, see . * + * * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + #include "pwm.h" #include "loggingcategories.h" diff --git a/libguh/hardware/pwm.h b/libguh/hardware/pwm.h index 94134fc9..83c58b67 100644 --- a/libguh/hardware/pwm.h +++ b/libguh/hardware/pwm.h @@ -1,3 +1,23 @@ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * + * Copyright (C) 2015 -2016 Simon Stürz * + * * + * This file is part of guh. * + * * + * Guh 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, version 2 of the License. * + * * + * Guh 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 guh. If not, see . * + * * + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + #ifndef PWM_H #define PWM_H diff --git a/libguh/hardware/radio433/radio433.cpp b/libguh/hardware/radio433/radio433.cpp index 207f13a0..75af1bf0 100644 --- a/libguh/hardware/radio433/radio433.cpp +++ b/libguh/hardware/radio433/radio433.cpp @@ -1,6 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - * Copyright (C) 2015 Simon Stürz * + * Copyright (C) 2015 -2016 Simon Stürz * * * * This file is part of guh. * * * @@ -25,7 +25,7 @@ \ingroup hardware \inmodule libguh - This class handles all supported radio 433 MHz receiver and transmitter. Receiving data on the 433.92 MHz frequency + This class handles all supported radio 433 MHz transmitter. Receiving data on the 433.92 MHz frequency is only supported, if there are \l{Gpio}{GPIO's} available and a suitable receiver is connected to GPIO 27. Examples for receiver can be found \l{https://www.futurlec.com/Radio-433MHZ.shtml}{here}. The antenna has a very large impact on the quality of the signal and how well it is recognized. In many forums and blogs it is described that a 17, 3 mm piece of wire is enough. diff --git a/libguh/hardware/radio433/radio433.h b/libguh/hardware/radio433/radio433.h index 52a7e8bf..812f2fac 100644 --- a/libguh/hardware/radio433/radio433.h +++ b/libguh/hardware/radio433/radio433.h @@ -1,6 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - * Copyright (C) 2015 Simon Stürz * + * Copyright (C) 2016 Simon Stürz * * * * This file is part of guh. * * * diff --git a/libguh/hardware/radio433/radio433transmitter.cpp b/libguh/hardware/radio433/radio433transmitter.cpp index 8329f81b..fba8b3a0 100644 --- a/libguh/hardware/radio433/radio433transmitter.cpp +++ b/libguh/hardware/radio433/radio433transmitter.cpp @@ -1,6 +1,6 @@ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - * Copyright (C) 2015 Simon Stürz * + * Copyright (C) 2015 -2016 Simon Stürz * * * * This file is part of guh. * * * diff --git a/libguh/hardware/radio433/radio433transmitter.h b/libguh/hardware/radio433/radio433transmitter.h index fc606452..b0028419 100644 --- a/libguh/hardware/radio433/radio433transmitter.h +++ b/libguh/hardware/radio433/radio433transmitter.h @@ -2,7 +2,7 @@ * * * This file is part of guh. * * * - * Copyright (C) 2015 Simon Stürz * + * Copyright (C) 2015 -2016 Simon Stürz * * * * Guh is free software: you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by *