Posts

Showing posts from October, 2024

Multi SSD1306 OLED, on Raspberry Pi Pico 2/MicroPython

Image
My exercise on  Raspberry Pi Pico 2 (RP2350) running MicroPython v1.24.0-preview.321, to display on two  128x64 SSD1315 I2C OLED (SSD1306 compatible) , and one  128x64 SSD1306 SPI OLED . The 3rd, 4th and 5th exercises display on three OLEDs as one framebuf. In the 4th and 5th exercises, groupedOLED_class is implemented, make it easier to append OLEDs at runtime. Two I2C SSD1306 OLED share the same I2C bus with different address. Connection: Exercise code: mpyPico2_tri_oled_hello.py , a simple hello world display on 3 OLED separately. """ MicroPython/Raspberry Pi Pico 2 exercise display on three OLED, 0.96" 128x64 SSD1306 OLED - two I2C OLED share one I2C with different I2C address - and one SPI OLED. To install MicroPython ssd1306 driver on Pico 2. read: https://coxxect.blogspot.com/2024/09/i2c-oled-ssd1306ssd1315-screen-with.html Two I2C OLEDs are connected to the same I2C(0) with different I2C address The I2C address of the left