From a958fc418906ae84c49acf8e8ce83fed5ed809bd Mon Sep 17 00:00:00 2001 From: Pierrick C Date: Sun, 29 Jul 2018 18:48:25 +0200 Subject: [PATCH] Add Licence and metadata in the header --- circuitpython/main.py | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/circuitpython/main.py b/circuitpython/main.py index 90164fb..ae317f4 100644 --- a/circuitpython/main.py +++ b/circuitpython/main.py @@ -1,4 +1,24 @@ -# Weather and GPS logger +# 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 . + +########################## +# Weather and GPS logger # +########################## + +# Use with: +# * Adafruit Feather M0 Express +# * Adafruit Ultimate GPS FeatherWing +# * Bosch BME280 sensor (air temperature, humidity, atmospheric pressure) on I2C ########## # config # @@ -154,7 +174,7 @@ def set_clock_from_GPS(): print("Previous date/time : " + datetime_format.format(*clock.datetime[0:6])) clock.datetime = gps_datetime #Trust GPS if there is a bias print("New date/time : " + datetime_format.format(*clock.datetime[0:6])) - + ######### # Setup # #########