Usage of each block

日本語のページ

Initializing an OLED display connected via I2C

Initializing an I2C-connected OLED display

Initialize an OLED display connected via I2C.
Use the default values for the SDA/SCL pin numbers.
Use this block if your microcontroller has fixed SDA/SCL pin numbers.

Initialize an I2C-connected OLED display by specifying a pin number

Initialize an I2C-connected OLED display by specifying the pin number

Initialize an I2C-connected OLED display by specifying the SDA/SCL pin number.
Use this block if you have a microcontroller that allows you to freely set the SDA/SCL pin numbers.

Initialize SPI-connected OLED display

Initializing an SPI-connected OLED display

Initialize the SPI-connected OLED display.
Use this block if the SPI SDA (MOSI) and SCK (SCL) pin numbers are fixed for the microcontroller.
Set the CS/DS/RES pin numbers according to the actual connection destination.

Initialize SPI-connected OLED display by specifying pins

Initialize an SPI-connected OLED display by specifying the pin number

Initialize the OLED display by specifying the numbers of all pins in the SPI connection.

Draw a pixel

Draw pixel

Draw a pixel on the OLED display.
Specify the position of the pixel with x and y.

Draw a line

Draw line

Draw a line on the OLED display.
Specify the coordinates of one end with x1 and y1, and the coordinates of the other end with x2 and y2.

Draw a Rectangle

Draw rectangle

Draws a rectangle (frame only) on the OLED display.
Specify the coordinates of the upper left corner using x and y.

Drawing a filled rectangle

Draw filled rectangle

Draw a filled rectangle on the OLED display.
Specify the coordinates of the top left corner with x and y.

Draw a circle

Draw circle

Draw a circle (only the periphery) on the OLED display.
Specify the center position with x and y.

Draw a filled circle

Draw filled circle

Draw a filled circle on the OLED display.
Specify the center position with x and y.

Font settings (for Arduino firmware)

Set font (for Arduino firmware)

Select the font to display characters on the OLED in the Arduino firmware microcontroller.
When displaying alphanumeric characters, you need to switch to the alphanumeric font, and when displaying Japanese, you need to switch to the Japanese font.

Set font (for Blinka firmware)

Set font (for Blinka firmware)

Select the font to use when displaying characters on the OLED in the Blinka firmware microcontroller.

Set cursor position

Set cursor position

Set the cursor position when displaying characters on the OLED.

Drawing a string

Draw string

Draws a string at the position specified by the "set cursor" block.

Displaying the drawing results

Displaying the drawing results

Displays the results of drawing in various drawing-related blocks on the OLED.
Please note that nothing will be displayed unless you execute this block.

Clear the buffer

Clear buffer

Clears the buffer that stores the OLED display contents.
The display contents will remain as they are.
When preparing the next screen to be displayed, clear the buffer before performing drawing processing in the drawing block.

Clear Display

Clear display

Clears all OLED display content.