Skip to content

Instantly share code, notes, and snippets.

View gthoppae's full-sized avatar

Gnanasekaran Thoppae gthoppae

  • Salesforce
  • La Sarraz, Switzerland
View GitHub Profile
@gthoppae
gthoppae / sensor-example.py
Last active September 23, 2016 13:27
Sensor reading from Sense HAT
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)
@gthoppae
gthoppae / blink-led-5-times.py
Created September 10, 2017 08:41
Raspberry Pi GPIO exercise - blink LED 5 times
@gthoppae
gthoppae / thankyou.html
Created November 4, 2018 10:32
A simple Thank You page!
<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>