From 39d9846813cdb2f9fac1125230f5a1d1390c2997 Mon Sep 17 00:00:00 2001 From: Luca Tringali Date: Thu, 24 Jan 2019 23:16:31 +0100 Subject: Article links --- README.md | 2 ++ adafruit-pitft.sh | 3 ++- autologin.sh | 4 +++- termostato.py | 2 ++ 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cf227f3..31c2811 100644 --- a/README.md +++ b/README.md @@ -12,3 +12,5 @@ sudo aptitude install python3-rpi.gpio sudo pip3 install w1thermsensor If you are using Raspbian Buster before its official release date, and you have a PiTFT from Adafruit, PiTFT script might not work correctly. Instead of the official script, please use the one included in this git repository, running: sudo ./adafruit-pitft.sh + +The full source code is described on https://www.codice-sorgente.it/2019/01/un-termostato-touchscreen-con-raspberrypi/ diff --git a/adafruit-pitft.sh b/adafruit-pitft.sh index 82ff069..aa9e826 100755 --- a/adafruit-pitft.sh +++ b/adafruit-pitft.sh @@ -1,8 +1,9 @@ #!/bin/bash # Instructions! +# Please take note this script is experimental # cd ~ -# wget https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-Scripts/master/adafruit-pitft.sh +# wget http://codice-sorgente.it/cgit/termostato-raspberry.git/plain/adafruit-pitft.sh # chmod +x adafruit-pitft.sh # sudo ./adafruit-pitft.sh diff --git a/autologin.sh b/autologin.sh index ce265e7..41cae8f 100755 --- a/autologin.sh +++ b/autologin.sh @@ -1,6 +1,8 @@ #!/bin/bash +#This script makes an application run automatically on boot as user "pi" #Created by Luca Tringali - www.codice-sorgente.it -#Thanks to Dalen, this code is based on his answer: https://stackoverflow.com/questions/44186905/how-to-replace-the-desktop-interface-with-a-python-application +#It is made for the thermostat project you find here: https://codice-sorgente.it/cgit/termostato-raspberry.git/ +#Thanks to Dalen, this code is partially based on his answer: https://stackoverflow.com/questions/44186905/how-to-replace-the-desktop-interface-with-a-python-application username="pi" cat < /etc/systemd/system/tty1.service diff --git a/termostato.py b/termostato.py index a91578e..a7d206c 100755 --- a/termostato.py +++ b/termostato.py @@ -1,6 +1,8 @@ #!/usr/bin/python3 # -*- coding: utf-8 -*- +# https://www.codice-sorgente.it/2019/01/un-termostato-touchscreen-con-raspberrypi/ + import RPi.GPIO as GPIO import w1thermsensor import sys, os -- cgit v1.1