Skip to content

Instantly share code, notes, and snippets.

@jvanderberg
jvanderberg / led_ir_example.c
Last active April 26, 2025 21:27
Pi Pico C SDK example of reading IR codes from a 'standard' 44 key IR LED remote.
#include "pico/stdlib.h"
#include "hardware/gpio.h"
#include "hardware/timer.h"
#include "stdio.h"
#include "pico/util/queue.h"
#define IR_PIN 16
#define BRIGHTNESS_UP 0x3A
#define BRIGHTNESS_DN 0xBA
#define PLAY 0x82
@jvanderberg
jvanderberg / llm-wiki-replication.md
Last active June 17, 2026 01:23
The LLM Wiki — a replication specification (SQLite-backed, append-only, LLM-maintained knowledge base driven by a single Python CLI)

An LLM-maintained knowledge base — design specification

This document specifies a personal knowledge base designed to be maintained by an LLM agent rather than by a human. It is meant to be a buildable blueprint: it describes what to build and why, the data model, the behaviors each command must have, and — importantly — how to write the agent-facing instructions ("skills") that make an agent actually use it well. It deliberately stays at the level of design and behavior rather than prescribing an implementation, so you can build it in whatever language and storage engine you prefer.