robpo / paperino Goto Github PK
View Code? Open in Web Editor NEWE-Paper display library for the Particle & Arduino family.
Home Page: https://robpo.github.io/Paperino/
License: BSD 3-Clause "New" or "Revised" License
E-Paper display library for the Particle & Arduino family.
Home Page: https://robpo.github.io/Paperino/
License: BSD 3-Clause "New" or "Revised" License
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.
In theory this should work out of the box based on Particles RasPi implementation. Let's check that.
Do you have plans to support micropython?
display sometimes does not update, unplugging and restarting usually helps
For updating, the ePaper waveform also needs to know the actual image content in order to chose the correct waveform transition. This is handled by the driver IC, but not working for the very first image update after power cycling. Although the driven image looks more or less OK the media is driven imbalanced and the overall contrast id degraded. Workaround is to first drive an (invisible) nullframe update after each initialisation.
SPIsettings() is available since firmware 0.6.1 - it allows usage of SPI slaves with different bus settings. Furthermore we could save three lines of code ;-) - Please implement
... which means going back to SPI0 pins (instead of SPI1) and deactivating DMA buffer transfer if Bluz is used
I have two questions regarding the optional simplified wiring.
What are the pros and cons of that approach?
Obviously one pro is that you will have two GPIO pins for other purposes. So maybe the real question is:
Are there any downsides using the simplified wiring?
It is currently not documented in the Hookup Guide. Which probably would also be a great place to answer my first question.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.