MiniOLED Unit
MiniOLED UNIT is a 0.42-inch I2C interface OLED screen unit, it’s a 72*40, monochrome white display.
Support the following products:
- Micropython Example::
from unit import MiniOLEDUnit from hardware import * i2c0 = I2C(0, scl=Pin(33), sda=Pin(32), freq=100000) display = MiniOLEDUnit(i2c).display
display.clear(0xffffff) # Clear screen
class MiniOLEDUnit
Constructors
- class MiniOLEDUnit(port, address, freq)
Initialize the Unit MiniOLED
- 参数:
UIFLOW2:
