SSD1306 OLED display driver  1.8.2
This library is developed to control SSD1306/SSD1331/SSD1351/IL9163/PCD8554 RGB i2c/spi LED displays
Public Member Functions | List of all members
AdafruitCanvas1 Class Reference

#include <adafruit.h>

Inheritance diagram for AdafruitCanvas1:
AdafruitCanvasBase< 1 > AdafruitCanvasOps< BPP >

Public Member Functions

void blt (lcdint_t x, lcdint_t y) override
 
void blt () override
 
- Public Member Functions inherited from AdafruitCanvasOps< BPP >
 AdafruitCanvasOps (lcduint_t w, lcduint_t h, uint8_t *buffer)
 
void drawPixel (int16_t x, int16_t y, uint16_t color) override
 
void setOffset (lcdint_t ox, lcdint_t oy)
 

Additional Inherited Members

- Public Attributes inherited from AdafruitCanvasOps< BPP >
NanoPoint offset
 
- Static Public Attributes inherited from AdafruitCanvasOps< BPP >
static const uint8_t BITS_PER_PIXEL = BPP
 
- Protected Attributes inherited from AdafruitCanvasOps< BPP >
uint8_t * m_buffer
 

Detailed Description

AdafruitCanvas1 represents objects for drawing in memory buffer AdafruitCanvas1 represents each pixel as single bit: 0/1 For details refer to SSD1306 datasheet

Definition at line 180 of file adafruit.h.

Member Function Documentation

◆ blt() [1/2]

void AdafruitCanvas1::blt ( lcdint_t  x,
lcdint_t  y 
)
inlineoverridevirtual

Draws canvas on the LCD display

Parameters
x- horizontal position in pixels
y- vertical position in pixels

Implements AdafruitCanvasBase< 1 >.

Definition at line 190 of file adafruit.h.

◆ blt() [2/2]

void AdafruitCanvas1::blt ( )
inlineoverridevirtual

Draws canvas on the LCD display using offset values.

Implements AdafruitCanvasBase< 1 >.

Definition at line 198 of file adafruit.h.


The documentation for this class was generated from the following file: