pico-examples icon indicating copy to clipboard operation
pico-examples copied to clipboard

Any sample for SSD1306 based OLED display?

Open pankaj-nikam opened this issue 5 years ago • 8 comments

Hi team, is there any sample for SSD1306 based OLED display? Can you please share? I am looking for 128x32 display. Thanks.

pankaj-nikam avatar Feb 02 '21 14:02 pankaj-nikam

There's an SSD1306 MicroPython example here but I dunno how easy/hard it would be to convert to C. There's some C I2C examples here.

lurch avatar Feb 02 '21 17:02 lurch

Yes, I found that sample and its working nice. I wanted C version because the Python currently does not support machine.RTC.

pankaj-nikam avatar Feb 03 '21 03:02 pankaj-nikam

The Python example will be driven by C under the hood so you could fish it out of the Micropython source code

HeadBoffin avatar Feb 04 '21 20:02 HeadBoffin

I ported SSD1306 lib to RP2040. Feel free to use it. https://github.com/mbober1/RPi-Pico-SSD1306-library

mbober1 avatar Feb 05 '21 14:02 mbober1

Thanks for the porting @mbober1 😃

pankaj-nikam avatar Feb 06 '21 03:02 pankaj-nikam

See also https://github.com/raspberrypi/pico-examples/pull/49 :slightly_smiling_face:

lurch avatar Feb 09 '21 16:02 lurch

I guess this was "fixed" by #130 ? That got merged into https://github.com/raspberrypi/pico-examples/releases/tag/sdk-1.3.0 so take a look at https://github.com/raspberrypi/pico-examples/tree/master/i2c/oled_i2c

lurch avatar Nov 05 '21 00:11 lurch

There is an example in the repository at https://github.com/raspberrypi/pico-examples/tree/master/i2c/ssd1306_i2c Please close this issue.

mikek88 avatar Aug 31 '23 22:08 mikek88