Adafruit LED Backpack Library
Public Member Functions | List of all members
Adafruit_8x16minimatrix Class Reference

Class for 8x16 pixel single-color mini matrices. More...

#include <Adafruit_LEDBackpack.h>

Inheritance diagram for Adafruit_8x16minimatrix:
Adafruit_LEDBackpack

Public Member Functions

 Adafruit_8x16minimatrix (void)
 Constructor for 8x16 pixel single-color mini matrices.
 
void drawPixel (int16_t x, int16_t y, uint16_t color)
 Lowest-level pixel drawing function required by Adafruit_GFX. Does not have an immediate effect – must call writeDisplay() after any drawing operations to refresh display contents. More...
 
- Public Member Functions inherited from Adafruit_LEDBackpack
 Adafruit_LEDBackpack (void)
 Constructor for HT16K33 devices.
 
bool begin (uint8_t _addr=0x70, TwoWire *theWire=&Wire)
 Start I2C and initialize display state (blink off, full brightness). More...
 
void setDisplayState (bool state)
 Turn display on or off. More...
 
void setBrightness (uint8_t b)
 Set display brightness. More...
 
void blinkRate (uint8_t b)
 Set display blink rate. More...
 
void writeDisplay (void)
 Issue buffered data in RAM to display.
 
void clear (void)
 Clear display.
 

Additional Inherited Members

- Public Attributes inherited from Adafruit_LEDBackpack
uint16_t displaybuffer [8]
 Raw display data.
 
- Protected Attributes inherited from Adafruit_LEDBackpack
Adafruit_I2CDevice * i2c_dev = NULL
 Pointer to I2C bus interface.
 

Detailed Description

Class for 8x16 pixel single-color mini matrices.

Member Function Documentation

◆ drawPixel()

void Adafruit_8x16minimatrix::drawPixel ( int16_t  x,
int16_t  y,
uint16_t  color 
)

Lowest-level pixel drawing function required by Adafruit_GFX. Does not have an immediate effect – must call writeDisplay() after any drawing operations to refresh display contents.

Parameters
xPixel column (horizontal).
yPixel row (vertical).
colorPixel color (1 = pixel on, 0 = pixel off).

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