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
/* | |
(c)2020 Tanner Crook | |
=============================================================================== | |
This script will query a result set containing the year, school, a snapshot | |
date (currently the 15th of a given month), and the count of SPED status = 'Y' | |
students on the given date. | |
=============================================================================== | |
*/ | |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!-- Bootstrap 4 Resources --> | |
<!-- Latest compiled and minified CSS --> |
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
{% block html %} | |
<!DOCTYPE html> | |
<html lang="en"> | |
{% block head %} | |
<head> | |
{% block meta %} | |
{% endblock meta %} | |
{% block title %} | |
<title>CrookTec</title> |
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 GPIO | |
import time | |
import binascii | |
import sys | |
GPIO.setmode(GPIO.BCM) | |
GPIO.setup(4,GPIO.IN) | |
GPIO.setup(17,GPIO.IN) | |
GPIO.setup(22,GPIO.IN) | |
GPIO.setup(24,GPIO.OUT) |