hacker news Hacker News
  1. new
  2. show
  3. ask
  4. jobs
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

loading...