What is Nostr?
npub19zn…pj90
2024-03-19 16:20:55

npub19z…spj90 on Nostr: Because I2C has been a thorn in my side for my entire embedded career, I'm working on ...

Because I2C has been a thorn in my side for my entire embedded career, I'm working on the I2C analyzer I've always wanted to buy but never could.

Here's a nice trick for writing complex test fixtures in Rust: define a simple character-driven language for expressing them, and embed a string. This test ASCII-arts the (D)ata and (C)lock waves of an I2C transaction and labels moments in time with the (E)vents that should be decoded.

I think it's way more legible than a big array of structs. #rust

Author Public Key
npub19znrep7u2jrsfvqs5aa3s352l4ppfnxyun8pt28yulnkd7k9x08q9spj90