Skip to content

Compile error in Arduino IDE #14

@molecule

Description

@molecule

Arduino IDE version: 1.6.12
Library version: 1.1.2 (also tried 1.1.0)

Here are the errors:

In file included from /Users/molecule/Documents/Arduino/libraries/PL_microEPD/examples/_01_HelloWorld/_01_HelloWorld.ino:11:0:
/Users/molecule/Documents/Arduino/libraries/PL_microEPD/src/PL_microEPD.h:84:43: error: overflow in constant expression
byte buffer[EPD_WIDTH * EPD_HEIGHT / 4];
^
/Users/molecule/Documents/Arduino/libraries/PL_microEPD/src/PL_microEPD.h:84:43: error: size of array 'buffer' is negative
/Users/molecule/Documents/Arduino/libraries/PL_microEPD/src/PL_microEPD.h:85:44: error: overflow in constant expression
byte buffer2[EPD_WIDTH * EPD_HEIGHT / 4];
^
/Users/molecule/Documents/Arduino/libraries/PL_microEPD/src/PL_microEPD.h:85:44: error: size of array 'buffer2' is negative
exit status 1
Error compiling for board Arduino Pro or Pro Mini.

I can fix this but wanted to ping the authors about their thoughts before I go in and make changes to the library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions