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 time | |
| import os | |
| import RPi.GPIO as GPIO | |
| import subprocess | |
| import re | |
| import tweepy | |
| import datetime | |
| import math | |
| import sys |
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 time | |
| import os | |
| import RPi.GPIO as GPIO | |
| # sets up GPIO pins | |
| GPIO.setmode(GPIO.BCM) | |
| GPIO.setwarnings(False) | |
| DEBUG = 0 |
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 sys | |
| import tweepy | |
| CONSUMER_KEY = 'Cant show this part' | |
| CONSUMER_SECRET = 'Cant show this part' | |
| ACCESS_KEY = 'Cant show this part' | |
| ACCESS_SECRET = 'Cant show this part' | |
| auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET) |