SSD1306 OLED display driver 1.7.8 This library is developed to control SSD1306/SSD1331/SSD1351/IL9163/PCD8554 RGB i2c/spi LED displays

Public Member Functions | List of all members
AdafruitCanvas16 Class Reference

`#include <adafruit.h>`

Inheritance diagram for AdafruitCanvas16:

## 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

AdafruitCanvas16 represents objects for drawing in memory buffer AdafruitCanvas16 represents each pixel as two bytes with RGB bits: RRRRRGGG GGGBBBBB. For details refer to SSD1351 datasheet.

Definition at line 288 of file adafruit.h.

## Member Function Documentation

## ◆ blt() [1/2]

void AdafruitCanvas16::blt | ( | lcdint_t | x,
|  | lcdint_t | y
| ) |  |
| inline override virtual

Draws canvas on the LCD display

Parameters

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

Implements AdafruitCanvasBase< 16 >.

Definition at line 298 of file adafruit.h.

## ◆ blt() [2/2]

void AdafruitCanvas16::blt | ( |  | ) |
| inline override virtual

Draws canvas on the LCD display using offset values.

Implements AdafruitCanvasBase< 16 >.

Definition at line 306 of file adafruit.h.

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

- src/nano_engine/adafruit.h