RobPo / Paperino

E-Paper display library for the Particle & Arduino family.
https://robpo.github.io/Paperino/
BSD 3-Clause "New" or "Revised" License
37 stars 6 forks source link

Compile error in Arduino IDE #14

Open molecule opened 5 years ago

molecule commented 5 years ago

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 commented 4 years ago

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

sail2themoon commented 1 year ago

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