Skip to content

Commit

Permalink
Update nhl_goal_light.py
Browse files Browse the repository at this point in the history
  • Loading branch information
arim215 authored Jan 21, 2017
1 parent 853c3a8 commit 34fb61f
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions nhl_goal_light.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,6 @@
import requests
import platform

if "armv" in platform.machine():
# import RPI GPIO if running on RPI
import RPi.GPIO as GPIO
else:
# import mock GPIO if not running on RPI
from lib import gpio_mock as GPIO

# Setup GPIO on raspberry pi
GPIO.setmode(GPIO.BOARD)
GPIO.setwarnings(False)
# Tell the program you want to use pin number 15 as the input
GPIO.setup(15, GPIO.IN, GPIO.PUD_DOWN) # If no input button connected, comment this line out


def sleep(sleep_period):
""" Function to sleep if not in season or no game.
Expand Down

0 comments on commit 34fb61f

Please sign in to comment.