31 explicit DMD(
int widthPanels = 1,
int heightPanels = 1);
53 DMD &operator=(
const DMD &) {
return *
this; }
60 unsigned long lastRefresh;
Handle large dot matrix displays composed of LED's.
void disableTimer1()
Disables Timer1 overflow interrupts.
void loop()
Performs regular display refresh activities from the application's main loop.
void disableTimer2()
Disables Timer2 overflow interrupts.
Represents a monochrome bitmap within main memory.
bool doubleBuffer() const
Returns true if the display is double-buffered; false if single-buffered. The default is false...
void swapBuffers()
Swaps the buffers that are used for rendering to the display.
void enableTimer1()
Enables Timer1 overflow interrupts for updating this display.
~DMD()
Destroys this dot matrix display handler.
uint8_t Color
Type that represents the color of a pixel in a bitmap.
void swapBuffersAndCopy()
Swaps the buffers that are used for rendering to the display and copies the former back buffer conten...
DMD(int widthPanels=1, int heightPanels=1)
Constructs a new dot matrix display handler for a display that is widthPanels x heightPanels in size...
void enableTimer2()
Enables Timer2 overflow interrupts for updating this display.
static Color fromRGB(uint8_t r, uint8_t g, uint8_t b)
Converts an RGB value into a pixel color value.
void refresh()
Refresh the display.
void setDoubleBuffer(bool doubleBuffer)
Enables or disables double-buffering according to doubleBuffer.