Packages/Documentation

Reference documentation

Every package,
its contract.

Each page has the README overview and an API section extracted from the public header. The source link points at the same tagged revision the catalog uses.

Operators 23

clamp Limit sample-to-sample change. Overview·API
median Remove impulses with an N-sample median. Overview·API
moving-average Smooth with an N-sample mean. Overview·API
ema First-order lag with a power-of-two shift. Overview·API
trimmed-mean Average a batch after dropping the minimum and maximum. Overview·API
debounce Delay a binary change until the input is stable. Overview·API
hysteresis Keep a binary state across a threshold band. Overview·API
key-fsm Turn a key level into short and long events. Overview·API
crc16 CRC-16/CCITT-FALSE for frames and images. Overview·API
ring-buffer Fixed-size byte ring buffer. Overview·API
mean Arithmetic mean of a batch. Overview·API
clamp-average Limit each step, then smooth with a moving average. Overview·API
weighted-average Weighted mean of a batch. Overview·API
clamp-debounce Limit each step, then accept after N stable samples. Overview·API
ir-nec-decode Decode NEC falling-edge intervals. Overview·API
pid Integer PID with integral clamping and output limits. Overview·API
gamma-lut Map an input through a lookup table with interpolation. Overview·API
crc32 CRC-32/ISO-HDLC for images and frames. Overview·API
fixed-sqrt Q16.16 integer square root. Overview·API
biquad Q15 direct-form I biquad section. Overview·API
fir Q15 finite-impulse-response filter. Overview·API
modbus-rtu Modbus RTU frame builder and parser. Overview·API
pir PIR motion detector signal chain for sampled pyroelectric data. Overview·API

Drivers 36

i2c-master Blocking I2C master with a port and fake bus. Overview·API
uart Blocking UART core with a port and timeout. Overview·API
ws2812 Encode RGB pixels into WS2812 GRB bytes. Overview·API
ir-capture Collect falling-edge intervals for an IR receiver. Overview·API
adc-sampler Average N ADC reads on a channel. Overview·API
soft-pwm Software PWM on a single pin. Overview·API
ds18b20 READ DS18B20 temperature over 1-Wire. Overview·API
ssd1306 Minimal SSD1306 128x64 I2C driver. Overview·API
dht DHT11 and DHT22 frame decoders. Overview·API
rotary-encoder Quadrature decoder for a mechanical rotary encoder. Overview·API
at24cxx AT24Cxx I2C EEPROM driver. Overview·API
ds3231 DS3231 I2C real-time clock. Overview·API
max7219 MAX7219/MAX7221 SPI LED driver. Overview·API
pca9685 PCA9685 16-channel I2C PWM driver. Overview·API
mpu6050 MPU-6050 six-axis IMU driver. Overview·API
sht3x SHT30/SHT31/SHT35 temperature and humidity sensor. Overview·API
aht20 AHT20 temperature and humidity sensor. Overview·API
mcp2515 MCP2515 CAN controller over SPI. Overview·API
stepper Step/direction stepper driver for A4988 and DRV8825. Overview·API
hx711 HX711 24-bit load-cell amplifier. Overview·API
max31855 MAX31855 thermocouple amplifier. Overview·API
bme280 BME280 temperature, pressure, and humidity sensor. Overview·API
adxl345 ADXL345 three-axis accelerometer. Overview·API
mcp23017 MCP23017 16-bit I2C GPIO expander. Overview·API
ads1115 ADS1115 16-bit I2C analog-to-digital converter. Overview·API
sh1106 Minimal SH1106 128x64 I2C OLED driver. Overview·API
mcp4725 MCP4725 12-bit I2C digital-to-analog converter. Overview·API
pcf8574 PCF8574 8-bit I2C GPIO expander. Overview·API
hc-sr04 HC-SR04 ultrasonic distance sensor. Overview·API
ina219 INA219 high-side current and power monitor. Overview·API
mcp9808 MCP9808 high-accuracy I2C temperature sensor. Overview·API
nrf24l01 nRF24L01+ 2.4 GHz SPI transceiver core. Overview·API
hd44780 HD44780-compatible character LCD, 4-bit parallel interface. Overview·API
mfrc522 MFRC522 13.56 MHz RFID reader over SPI. Overview·API
scd4x Sensirion SCD40/SCD41 CO2, temperature, and humidity sensor. Overview·API
sdcard SD card block device over SPI. Overview·API