# How to use the small oled display using ssd1306

**URL:** <https://forums.digi.com/t/how-to-use-the-small-oled-display-using-ssd1306/21255>\
**Category:** Linux\
**Tags:** i2c, display, cc6ul, oled, ssd1306\
**Created:** [April 7, 2020, 9:14am UTC](https://forums.digi.com/t/how-to-use-the-small-oled-display-using-ssd1306/21255 "2020-04-07T09:14:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![WaveSim](https://avatars.discourse-cdn.com/v4/letter/w/a88e57/32.png) [@WaveSim](https://forums.digi.com/u/WaveSim)\
**Post date:** [April 7, 2020, 9:14am UTC](https://forums.digi.com/t/how-to-use-the-small-oled-display-using-ssd1306/21255/1 "2020-04-07T09:14:53Z")

</div>

Hi guys,

Thanks for your help in advance.

I am developing my own custom board using CC6UL and almost IO are working well.  
So, these days I am trying to connect peripherals,  
At this time SSD1306 is my subject.  
I have already adopted some other I2C sensors, however, this kind of display IC are different since all sources are using a specific library like PIL or pillow for RaspPi and framebuf for Micropython.  
So I can’t modify these for my custom OS.  
Do you have any solution for it?  
here’s the link for it:[https://github.com/adafruit/Adafruit\_Python\_SSD1306](https://github.com/adafruit/Adafruit_Python_SSD1306)

Best regards,

---

<div class="post-metadata">

**Author:** ![LeonidM](https://avatars.discourse-cdn.com/v4/letter/l/d26b3c/32.png) [@LeonidM](https://forums.digi.com/u/LeonidM)\
**Post date:** [April 7, 2020, 9:31am UTC](https://forums.digi.com/t/how-to-use-the-small-oled-display-using-ssd1306/21255/2 "2020-04-07T09:31:07Z")

</div>

if you have sources you should be able to cross-compile the library using Digi toolchain for cc6ul, which you can either generate yourself or use a rebuild one form cc6ul support page.

---

<div class="post-metadata">

**Author:** ![musicalRadio](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@musicalRadio](https://forums.digi.com/u/musicalRadio)\
**Post date:** [February 18, 2021, 8:49am UTC](https://forums.digi.com/t/how-to-use-the-small-oled-display-using-ssd1306/21255/3 "2021-02-18T08:49:36Z")

</div>

Found someone who posted some modded CircuitPython libraries. This worked for me in getting an XBee3 to drive an SSD1306 OLED.

[https://github.com/Dowster64/XBee3\_SSD1306](https://github.com/Dowster64/XBee3_SSD1306)
