Also, on the topic of MicroZig documentation, where is the recommended place to start for consumers of the library? A lot of the documentation seems geared toward people who want to contribute to the library but I’ve had a hard time finding documentation aimed at people who want to use the library as a client.
Side note: that expansion board for the Pico is phenomenal. Really ergonomic
Note that the name of the display is SSD1306, not SDD1306, as the article incorrectly says a few times. Definitely makes it easier to find examples when you get the name right!
There’s also a few Rust crates for it, including one that’s compatible with embedded-hal
I’m pretty sure that there is no separate datasheet for the 128x32 variant; the datasheet you’re looking at is correct. I recall it saying towards the start of the datasheet that there are a few different size variants but the underlying I2C spec is the same for all variants
I guess we have to work a lot on our docs and presentation, as MicroZig ships a pretty nice SSD1306 driver already!
But it’s nice to see people are using MicroZig in the wild!
That’s great to hear! It’s wouldn’t have been half as much fun for me, but it’s cool to see the barrier of entry being constantly lowered.
I think I might have actually been doing this before the official driver was available, if this is the commit. I’ll update the title with the year.
Direct link for anyone curious:
https://github.com/ZigEmbeddedGroup/microzig/blob/ce28cf330a1e290a63eb3f9961c3c85f4eb2e02b/drivers/display/ssd1306.zig
Also, on the topic of MicroZig documentation, where is the recommended place to start for consumers of the library? A lot of the documentation seems geared toward people who want to contribute to the library but I’ve had a hard time finding documentation aimed at people who want to use the library as a client.
I guess the best we have right now is just checkout out the examples in the MicroZig repository
I love that little display. I have one too. It came with a Pico sensor kit I got on Amazon: https://www.amazon.com/gp/aw/d/B09C3NW8DX
Side note: that expansion board for the Pico is phenomenal. Really ergonomic
Note that the name of the display is SSD1306, not SDD1306, as the article incorrectly says a few times. Definitely makes it easier to find examples when you get the name right!
There’s also an example for this display in pico-examples: https://github.com/raspberrypi/pico-examples/tree/master/i2c/ssd1306_i2c
It’s a very capable little device
There’s also a few Rust crates for it, including one that’s compatible with embedded-hal
I’m pretty sure that there is no separate datasheet for the 128x32 variant; the datasheet you’re looking at is correct. I recall it saying towards the start of the datasheet that there are a few different size variants but the underlying I2C spec is the same for all variants