This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from sense_hat import SenseHat | |
sense = SenseHat() | |
while True: | |
t = sense.get_temperature() | |
p = sense.get_pressure() | |
h = sense.get_humidity() | |
t = round(t, 1) | |
p = round(p, 1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import RPi.GPIO as g | |
import time | |
from subprocess import call | |
call('clear') | |
# set the board | |
g.setmode(g.BOARD) | |
# set up PIN 12 for output |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head><title>Thank You</title></head> | |
<body> | |
<h1 style="font-color: navy">Thank you for your interest in our products. Someone will contact you!</h1> | |
</body> | |
</html> |