- Install
- Basic operation
- Basics of programming for electronic work
- Basics of programming for Excel
- Machine learning with scikit-learn
- Visualizing data with matplotlib
- Web programming
- RPA programming
- Miscellaneous programming
- Reference
- "Basic" group
- ”Basic I/O" group
- ”PWM Output" group
- "Servo Motor" group
- ”Motor" group
- ”Display" group
- "Raspberry Pi 500+" group
- "Arduino UNO Q" group
- ”LCD" group
- "NeoPixel" group
- ”OLED" group
- Overview
- Usage of each block
- ”Sensor" group
- "Micro controller" group
- "Excel" group
- "scikit-learn" group
- "matplotlib" group
- "Web" group
- "File" group
- "Image" group
- "Turtle" group
- "Speech" group
Usage of each block
Initializing an OLED display connected via I2C
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 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
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 the OLED display by specifying the numbers of all pins in the SPI connection.
Draw a pixel
![]()
Draw a pixel on the OLED display.
Specify the position of the pixel with x and y.
Draw a 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
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 a filled rectangle on the OLED display.
Specify the coordinates of the top left corner with x and y.
Draw a circle
![]()
Draw a circle (only the periphery) on the OLED display.
Specify the center position with x and y.
Draw a filled circle
![]()
Draw a filled circle on the OLED display.
Specify the center position with x and y.
Font settings (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)
![]()
Select the font to use when displaying characters on the OLED in the Blinka firmware microcontroller.
Set cursor position
![]()
Set the cursor position when displaying characters on the OLED.
Drawing a string
![]()
Draws a string at the position specified by the "set cursor" block.
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
![]()
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
![]()
Clears all OLED display content.