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 | |
import blinkt | |
import config | |
import subprocess | |
import time | |
import gpiozero | |
from picamera import PiCamera | |
from time import sleep | |
from datetime import datetime as dtdatetime |
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
# Import Python libraries | |
from gpiozero import LED, PWMLED, Button | |
import pygame.mixer | |
from pygame.mixer import Sound | |
import time | |
from signal import pause | |
import random | |
import os | |
pygame.mixer.init() |
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
# Import Python libraries | |
from gpiozero import LED, PWMLED, Button | |
import pygame.mixer | |
from pygame.mixer import Sound | |
import time | |
from signal import pause | |
pygame.mixer.init() | |
santa = Sound("Laugh.wav") |