An example that shows how to use the Embedded Artists E-paper display. This example is using the EaEpaper library originally developed by Peter Drescher

Dependencies:   EaEpaper TFT_fonts mbed

The 2.7 inch E-paper display module connected to the LPC4088 QSB Base Board.

/media/uploads/embeddedartists/qsb_lpc4088_bb_w_epaper_250.png

Files at this revision

API Documentation at this revision

Comitter:
embeddedartists
Date:
Wed Dec 04 12:55:39 2013 +0000
Commit message:
First commit

Changed in this revision

EaEpaper.lib Show annotated file Show diff for this revision Revisions of this file
TFT_fonts.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/EaEpaper.lib	Wed Dec 04 12:55:39 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/embeddedartists/code/EaEpaper/#6fb3e296a6fd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TFT_fonts.lib	Wed Dec 04 12:55:39 2013 +0000
@@ -0,0 +1,1 @@
+https://mbed.org/users/dreschpe/code/TFT_fonts/#76774250fcec
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Wed Dec 04 12:55:39 2013 +0000
@@ -0,0 +1,43 @@
+#include "mbed.h"
+#include "EaEpaper.h"
+#include "Arial28x28.h"
+#include "Arial12x12.h"
+#include "font_big.h"
+
+EaEpaper epaper(p17,          // PWR_CTRL
+                p9,           // BORDER
+                p18,          // DISCHARGE
+                p38,          // RESET_DISP
+                p10,          // BUSY
+                p14,          // SSEL
+                p37,          // PWM
+                p11,p12,p13,  // MOSI,MISO,SCLK
+                p19,p20);     // SDA,SDL 
+
+int main() {
+
+    epaper.cls();
+    
+    epaper.set_font((unsigned char*) Arial28x28);  // select the font
+    epaper.locate(5,20);
+    epaper.printf("Hello Mbed");
+    
+    epaper.rect(3,15,150,50,1);
+     
+    epaper.set_font((unsigned char*) Arial12x12);
+    epaper.locate(5,60);
+    epaper.printf("small Font");
+    epaper.set_font((unsigned char*) Neu42x35);
+    epaper.locate(5,70);
+    epaper.printf("big Font");
+    
+    epaper.write_disp(); // update screen
+    
+    wait(5);
+    epaper.fillcircle(180,30,22,1);
+    epaper.circle(160,150,20,1);
+    
+    epaper.write_disp(); // update screen    
+
+    return 0;    
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Wed Dec 04 12:55:39 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/a9913a65894f
\ No newline at end of file