Skip to main content

OLED

Back to article list

Note: The OLED display is 128 pixels wide and 32 pixels tall. The two numbers in MatrixBlock simply represent the X (horizontal) and Y (vertical) coordinates on the screen.

Sample Code

Result: The OLED on MATRIX Mini R4 shows Hello.

OLED Blocks Instruction

BLOCK Instruction
Clear what is currently displayed on the screen.
Set the size of the text to be displayed, the smallest is 1, usually placed in the setup. (Default is 1)
Setting the text colour, usually placed in the setup. (Default is White)
Print the text to the OLED, you can decide update screen or not for printing multiple content without “flashing”. The screen pixel is 128×32.