GlassUnit
Unit Glass is a 1.51-inch transparent OLED expansion screen unit. It adopts STM32+SSD1309 driver scheme,resolution is 128*64, monochrome display, transparent area is 128*56.
Support the following products:
- Micropython Example::
from unit import GlassUnit from hardware import * i2c0 = I2C(0, scl=Pin(33), sda=Pin(32), freq=100000) display = GlassUnit(i2c).display
display.clear(0xffffff) # Clear screen
class GlassUnit
Constructors
- class GlassUnit(port, address, freq)
Initialize the Unit Glass
- Parameters:
UIFLOW2: