This file contains 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
<table class="optionList"> | |
<!--Check boxes--> | |
<thead> | |
<th class="stationNumber">$_('Heading')</th> <!--Edit: Optional--> | |
<th class="stationNumber">$_('Heading')</th> <!--Edit: Optional--> | |
</thead> | |
<tr> | |
<td style='text-transform: none;'>$_('Check Box 1'):</td> <!--Edit--> | |
<td><input type="checkbox" name="check-1" ${"checked" if 'check-1' in settings else ""}></td> |
This file contains 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
<table class="optionList"> | |
<!--Text fields--> | |
<thead> | |
<th class="stationNumber">$_('Heading')</th> <!--Edit: Optional--> | |
<th class="stationNumber">$_('Heading')</th> <!--Edit: Optional--> | |
</thead> | |
<tr> | |
<td style='text-transform: none;'>$_('Text Field 1'):</td> <!--Edit--> |
This file contains 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
# !/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import gv | |
try: | |
import RPi.GPIO as GPIO | |
gv.platform = 'pi' | |
rev = GPIO.RPI_REVISION | |
if rev == 1: |
This file contains 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
#!/usr/bin/python | |
# By Dan-in-CA 11/2018 | |
# Updated 3/21/2019 | |
from __future__ import print_function, division | |
from time import sleep | |
import pigpio | |
pi = pigpio.pi() |