Skip to content

Class daisy::SSD1351Driver

template <size_t width, size_t height, typename Transport>

ClassList > daisy > SSD1351Driver

More...

  • #include <oled_ssd1351.h>

Classes

Type Name
struct Config

Public Functions

Type Name
void DrawPixel (uint_fast8_t x, uint_fast8_t y, bool on)
void Fill (bool on)
size_t Height () const
void Init (Config config)
void SetColorBG (uint8_t red, uint8_t green, uint8_t blue)
void SetColorFG (uint8_t red, uint8_t green, uint8_t blue)
void Update ()
size_t Width () const

Protected Attributes

Type Name
uint16_t bg_color_
uint16_t buffer_
uint16_t fg_color_
Transport transport_

Detailed Description

A driver implementation for the SSD1351

Public Functions Documentation

function DrawPixel

inline void daisy::SSD1351Driver::DrawPixel (
    uint_fast8_t x,
    uint_fast8_t y,
    bool on
) 

function Fill

inline void daisy::SSD1351Driver::Fill (
    bool on
) 

function Height

inline size_t daisy::SSD1351Driver::Height () const

function Init

inline void daisy::SSD1351Driver::Init (
    Config config
) 

function SetColorBG

inline void daisy::SSD1351Driver::SetColorBG (
    uint8_t red,
    uint8_t green,
    uint8_t blue
) 

function SetColorFG

inline void daisy::SSD1351Driver::SetColorFG (
    uint8_t red,
    uint8_t green,
    uint8_t blue
) 

function Update

inline void daisy::SSD1351Driver::Update () 

Update the display


function Width

inline size_t daisy::SSD1351Driver::Width () const

Protected Attributes Documentation

variable bg_color_

uint16_t daisy::SSD1351Driver< width, height, Transport >::bg_color_;

variable buffer_

uint16_t daisy::SSD1351Driver< width, height, Transport >::buffer_[width *height];

variable fg_color_

uint16_t daisy::SSD1351Driver< width, height, Transport >::fg_color_;

variable transport_

Transport daisy::SSD1351Driver< width, height, Transport >::transport_;


The documentation for this class was generated from the following file external-docs/libDaisy/src/dev/oled_ssd1351.h