rickkas7 / adafruit_epd_rk Goto Github PK
View Code? Open in Web Editor NEWParticle port of the Adafruit EPD (e-paper, e-ink) display library
License: MIT License
Particle port of the Adafruit EPD (e-paper, e-ink) display library
License: MIT License
Using latest published 2.3.0 library via web IDE.
this is strait from the Adafruit_EPD examples. (except dropping the red, and updating the display() def for this display) Results in a black->white->black->white->black screen refresh, and that's it.
#define EPD_CS A5
#define EPD_DC A4
#define SRAM_CS A3
#define EPD_RESET A2 // can set to -1 and share with microcontroller Reset!
#define EPD_BUSY A1 // can set to -1 to not use a pin (will wait a fixed delay)
Adafruit_SSD1608 display(200, 200, EPD_DC, EPD_RESET, EPD_CS, SRAM_CS, EPD_BUSY);
//Adafruit_IL0373 display(152, 152, EPD_DC, EPD_RESET, EPD_CS, SRAM_CS, EPD_BUSY);
void setup(void) {
Serial.begin(115200);
Serial.print("Hello! EPD Test");
display.begin();
Particle.publish("Stat", "Initialized");
// display.setRotation(2);
// large block of text
display.clearBuffer();
display.setTextWrap(true);
display.fillScreen(EPD_WHITE);
display.setCursor(10, 10);
display.setTextSize(1);
display.setTextColor(EPD_BLACK);
display.print("Get as much education as you can. Nobody can take that away from you");
display.setCursor(50, 70);
display.setTextColor(EPD_BLACK);
display.print("--Eben Upton");
display.display();
Particle.publish("Stat", "Display Updated");
}
void loop() {
delay(500);
}
I'm trying to use the Adafruit flexible 2.13'' epd on the particle xenon with this library and Adafruit_GFX_RX library but the screen doesn't display the text. It flickers when I use the display method but it doesn't display the text or lines that I want it to. I was wondering if anyone might be able to help? attached is my .ino file.
Xenon_screen_test.zip
The 2.9 display requires that you call setBlackBuffer and setcolorBuffer. Those members don't exist in this fork, but they do exist in the Adafruit fork. Could you please pull the latest changes from Adafruit and update this library?
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.