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
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