SSD1306 OLED display driver  1.4.10
This library is developed to control SSD1306/SSD1331 RGB i2c/spi OLED displays and spi PCD8544 LED display
Functions
SSD1331 only API functions

Functions

void ssd1331_drawLine (uint8_t x1, uint8_t y1, uint8_t x2, uint8_t y2, uint16_t color)
 

Detailed Description

Function Documentation

◆ ssd1331_drawLine()

void ssd1331_drawLine ( uint8_t  x1,
uint8_t  y1,
uint8_t  x2,
uint8_t  y2,
uint16_t  color 
)

Draws line

Parameters
x1- x position in pixels of start point
y1- y position in pixels of start point
x2- x position in pixels of end point
y2- y position in pixels of end point
color- color of the line, refer to RGB_COLOR8 macros
Note
This API can be used only with ssd1331 RGB oled displays

Definition at line 31 of file ssd1331_api.c.