Skip to content

Instantly share code, notes, and snippets.

View scruss-elmwood's full-sized avatar

Stewart Russell scruss-elmwood

  • Toronto
View GitHub Profile
@scruss-elmwood
scruss-elmwood / csvthing.py
Created June 30, 2022 19:02
csvthing - clean up horrid csv so it will work with q and SQLite
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# csvthing - clean up horrid csv so it will work with q and SQLite
# scruss, 2022-06
import sys
import csv
if len(sys.argv) < 2:
@scruss-elmwood
scruss-elmwood / redrover_trundleplot.ino
Last active November 17, 2017 22:31
Red Rover Trundle Plot - tape a marker to your Red Rover and it draws a flower-like figure
/*
Red Rover Trundle Plot - tape a marker to your Red Rover
and it draws a flower-like figure
Plot **should** stay within 450 × 600 mm (US Arch C) pad
and likely will fit ISO A2 pads, but **test first**
and don't blame us for any stainage …
Rover motors appear on Arduino as two servos on pins 5 & 6
@scruss-elmwood
scruss-elmwood / main.py
Created October 4, 2017 22:09
Trinket M0 - scruss's perpetual Scottish thermometer
# Trinket M0 - scruss's perpetual Scottish thermometer
# for elmwood electronics - https://elmwood.to/
# CircuitPython 2.0.0
import board
import adafruit_dotstar as dotstar
import microcontroller
import time
# One pixel connected internally!