Skip to content

Instantly share code, notes, and snippets.

import board
from adafruit_ht16k33.segments import BigSeg7x4
import time
import touchio
# setup the 7 segment display
i2c = board.I2C()
display = BigSeg7x4(i2c)
display.brightness = 0.2
#!/usr/bin/env python
# coding: Latin-1
# Load library functions we want
from inputs import get_gamepad
from explorerhat import motor
import math
import time
from blinkt import set_clear_on_exit, set_pixel, show, set_brightness
@andywarburton
andywarburton / rover.py
Last active July 1, 2017 08:29
simple script for controlling motors and lights with piborg zero motor controller and a raspberry pi
#!/usr/bin/env python
# coding: Latin-1
# Load library functions we want
from inputs import get_gamepad
import piconzero as pz
import time
import sys
import random
import colorsys