by atoav · 2y ago · 0 comments
Because as much as I like Rust, I probably wont write my own OLED display driver and graphics library of I have the choice to avoid it.
1 - https://docs.rust-embedded.org/discovery/microbit/04-meet-yo...
Though to your point, in Rust, achieving what you mentioned is really streamlined devoid of headache. Meaning, all you need to do is find a driver crate on crates.io, include it in your toml configuration file. Then all abstractions are available.
If they don't exist it's usually quite easy to port the C/C++ code to rust which implements those traits