Show HN: dvcdbg 0.3.0: 1.3KB Initialization Sequence Explorer(Arduino in Rust)

2 Placeless 0 9/3/2025, 3:47:27 PM crates.io ↗
I recently purchased an SH1107G-based OLED and found no Rust driver that worked in a synchronous, no_std environment.

So I wrote my own driver, and along the way implemented a *1.3KB algorithm to search and verify the initialization sequence* on an Arduino Uno.

Key features: - Iterative topological sort to explore init sequences - Optimized for AVR constraints using bit flags and static arrays - Utilities: I2C scanner, hex/binary dump, serial adapter

This actually initializes a Grove OLED on Arduino Uno using just 1.3KB SRAM.

Code & docs: https://github.com/p14c31355/dvcdbg Crate: https://crates.io/crates/dvcdbg

Comments (0)

No comments yet