Added description to the top of the code

This commit is contained in:
rich committed 2016-03-31 19:51:28 -04:00
1 parent de97e663c9
commit 04cc463b86
1 file changed
+10 -3
+10 -3
View File
@@ -1,12 +1,19 @@
# ======================================================================
# == This little program uses the SparkFun Sound Detector (SEN-12642) ==
# == connected to the Raspberry Pi's GPIO ports to determine whether ==
# == or not a washer or dryer is running by polling the sensor. ==
# == A small webpage is updated every 60 seconds with the current ==
# == status. ==
# == ==
# == Written By: Rich O. (rich@rickelobe.com) ==
# ======================================================================
import RPi.GPIO as GPIO
import time
from django.template import Template, Context
from django.conf import settings
import sys
# WHY ARE THERE NO COMMENTS?!
# PLEASE ADD THEM!!!
def main():
settings.configure()