Skip to content
Open
Changes from all commits
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
6 changes: 3 additions & 3 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,8 +168,8 @@ 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;
byte row_width_bytes; // width in bitmap, bit-per-pixel rounded up to nearest byte
Expand Down