Kenji Arai / Mbed OS ePD_2R13inch_test_program

Dependencies:   EPD_2R13

Revision:
1:271991ff8004
Parent:
0:c0e0a185358d
diff -r c0e0a185358d -r 271991ff8004 main.cpp
--- a/main.cpp	Tue Apr 30 02:13:16 2019 +0000
+++ b/main.cpp	Sat Jun 29 23:54:50 2019 +0000
@@ -5,7 +5,7 @@
  *  http://www.page.sannet.ne.jp/kenjia/index.html
  *  http://mbed.org/users/kenjiArai/
  *      Created:    April     27th, 2019
- *      Revised:    April     30th, 2019
+ *      Revised:    June      29th, 2019
  *
  *  Tested on Nucleo-F446RE with mbed-os5.12.2
  *
@@ -32,8 +32,9 @@
 #define UNCOLORED   1
 
 //  Constructor ----------------------------------------------------------------
-//            mosi, miso, sclk, cs, dc, rst, busy, pwr
-Epd epd = Epd(  D4,   NC,   D3,D10, D9,  D8,   D7,  NC);
+//  3.3V, GND, DIN,     ,  CLK,  CS, DC, RST, BUSY,   <- 2.13inch e-Paper pin   
+//            mosi, miso, sclk,  cs, dc, rst, busy, pwr
+Epd epd = Epd(  D4,   NC,   D3, D10, D9,  D8,   D7,  NC);
 DigitalOut myled(LED1);
 DigitalIn  sw(USER_BUTTON);
 Serial pc(USBTX, USBRX);
@@ -74,7 +75,7 @@
                        &Font12, COLORED);
     paint.DrawStringAt(0, 16, "Waveshare 2.13 e-Paper WBY",
                        &Font12, COLORED);
-    paint.DrawStringAt(0, 30, "Run on mbed-os5.12",
+    paint.DrawStringAt(0, 30, "Run on mbed-os5.13",
                        &Font16, COLORED);
     paint.DrawStringAt(0, 42, "   tested on Nucleo-F446RE",
                        &Font12, COLORED);