Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile error in Arduino IDE #14

Open
molecule opened this issue Apr 3, 2019 · 2 comments
Open

Compile error in Arduino IDE #14

molecule opened this issue Apr 3, 2019 · 2 comments

Comments

@molecule
Copy link

molecule commented Apr 3, 2019

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.

@aymanbagabas
Copy link

I'm getting this compile error too, did you manage to fix it?

@sail2themoon
Copy link

Same for me with library from Paperino source. Did someone solved this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants