Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main.cpp
- 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);