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
# deb cdrom:[Pop_OS 18.10 _Cosmic_ - Release amd64 (20190207)]/ cosmic main restricted | |
deb http://us.archive.ubuntu.com/ubuntu/ cosmic main restricted universe multiverse | |
deb-src http://us.archive.ubuntu.com/ubuntu/ cosmic main restricted universe multiverse | |
deb http://us.archive.ubuntu.com/ubuntu/ cosmic-updates main restricted universe multiverse | |
deb-src http://us.archive.ubuntu.com/ubuntu/ cosmic-updates main restricted universe multiverse |
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 time | |
import sys | |
import eyed3 | |
import os.path | |
import Adafruit_SSD1306 | |
from PIL import Image | |
from PIL import ImageDraw | |
from PIL import ImageFont |
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 time | |
import sys | |
import subprocess | |
import re | |
import termios | |
import tty | |
import time | |
import os | |
import Adafruit_SSD1306 |
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
/* | |
Makefile: | |
DEBUG = -O2 -ggdb | |
CFLAGS = $(DEBUG) -Wall -std=c++11 | |
LIBS = -lwiringPi | |
CC = g++ | |
SRC = $(PROGNAME).cpp | |
OBJ = $(SRC:.cpp=.o) |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <errno.h> | |
#include <signal.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <fcntl.h> | |
#include <linux/input.h> | |
#include <linux/uinput.h> |
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 shiftpi.shiftpi as SP | |
import time | |
import RPi.GPIO as GPIO | |
import pygame | |
import sys | |
import os.path | |
seg = [ | |
[ -1, 1, 2, 3, 4, -1, 6, 7 ], # 0 | |
[ -1, -1, -1, 3, -1, -1, 6, -1 ], # 1 |