Skip to content

Instantly share code, notes, and snippets.

View keoni29's full-sized avatar

Koen van Vliet keoni29

View GitHub Profile
@keoni29
keoni29 / ltspice-library-descriptions-export.sh
Created February 19, 2024 21:32
Scrub LTSpice symbol files for part descriptions and save as CSV
for f in *.asy; do echo \"${f%.*}\",\"`sed -n 's/^SYMATTR Description //p' $f`\" >> out.csv; done
@keoni29
keoni29 / max7219_test.ino
Created December 30, 2019 11:05
MAX7219 display driver test code
/**
* MAX7219 seven segment display driver test
* Connect
* D13 --> CLK
* D11 --> DIN
* D9 --> LOAD/CS
*
*/
#include <SPI.h>
@keoni29
keoni29 / main.py
Last active May 19, 2017 18:28
Slacker for LED Matrix display
'''Game main module.
Last Day Game Entry, by Clint Herron
Modified for ledtris, by Koen van Vliet
Get original here: https://pyweek.org/e/LastMinute/
'''
import data
import pygame
@keoni29
keoni29 / visicom.md
Last active May 7, 2017 13:20
Random bits of information about reverse engineering the visicom text telephone

Tty operations

The ACIA is wired up to the DB25 connector at the back of the visicom. ACIA DB25 gnd -> 7,1 rts -> 6 tx -> 3 rx <- 2 (...)

Modem operations:

@keoni29
keoni29 / sensors.c
Last active January 16, 2017 19:14
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
typedef signed int ssize_t;
struct sensor_t {
size_t size;
size_t type;
void *val;