Skip to content

Instantly share code, notes, and snippets.

View sabzo's full-sized avatar

Sabelo Mhlambi sabzo

View GitHub Profile
#!/usr/bin/env python
from time import sleep
import RPi.GPIO as GPIO
import os
import pygame
pygame.mixer.init(frequency=22050, size=-16, channels=2, buffer=512)
buttonDown = False