rust-embedded-community / ssd1306

SSD1306 OLED driver
Apache License 2.0
301 stars 68 forks source link

Add support for 72x40px SSD1306 modules #101

Closed jamwaffles closed 4 years ago

jamwaffles commented 4 years ago

Hi! Thank you for helping out with SSD1306 development! Please:

PR description

Adds support for the 72x40px variant of the SSD1306. I believe this is also sometimes advertised as a 70x40px display. This Reddit thread was handy in figuring out a display offset of (28, 0) pixels. This is handled by the driver, so no user code needs to change.

Photograph of 72x40px SSD1306 showing a square, circle and triangle test pattern

jamwaffles commented 4 years ago

Hey @therealprof looks like this fell down the back of the couch. Would you have a moment to review it? It not I think I'll merge it as-is.

jamwaffles commented 4 years ago

Released in 0.3.0-alpha.4.