Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions DMD2.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class DMDFrame
{
friend class DMD_TextBox;
public:
DMDFrame(byte pixelsWide, byte pixelsHigh);
DMDFrame(uint16_t pixelsWide, uint16_t pixelsHigh);
DMDFrame(const DMDFrame &source);
virtual ~DMDFrame();

Expand Down Expand Up @@ -168,10 +168,10 @@ class DMDFrame

void swapBuffers(DMDFrame &other);

const byte width; // in pixels
const byte height; // in pixels
const uint16_t width; // in pixels
const uint16_t height; // in pixels
protected:
volatile uint8_t *bitmap;
volatile uint8_t *bitmap;uint16_t
byte row_width_bytes; // width in bitmap, bit-per-pixel rounded up to nearest byte
byte height_in_panels; // in panels

Expand Down