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.
Revision 1:271991ff8004, committed 2019-06-29
- Comitter:
- kenjiArai
- Date:
- Sat Jun 29 23:54:50 2019 +0000
- Parent:
- 0:c0e0a185358d
- Commit message:
- combined latest mbed-os5 revision
Changed in this revision
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);
diff -r c0e0a185358d -r 271991ff8004 mbed-os.lib --- a/mbed-os.lib Tue Apr 30 02:13:16 2019 +0000 +++ b/mbed-os.lib Sat Jun 29 23:54:50 2019 +0000 @@ -1,1 +1,1 @@ -https://github.com/ARMmbed/mbed-os/#cfa7938a4dd6d1a4c501945b9c26ca68f70e284e +https://github.com/ARMmbed/mbed-os/#54b94ec68c1161b8d0443a068153e93970eebee7
diff -r c0e0a185358d -r 271991ff8004 set_RTC.cpp
--- a/set_RTC.cpp Tue Apr 30 02:13:16 2019 +0000
+++ b/set_RTC.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
*/
#include "mbed.h"
@@ -22,7 +22,7 @@
char linebuf[64];
pc.printf("\r\nSet time into RTC\r\n");
- pc.printf(" e.g. >19 4 29 10 11 12 -> April 29th,'19, 10:11:12\r\n");
+ pc.printf(" e.g. >19 6 29 10 11 12 -> June 29th,'19, 10:11:12\r\n");
pc.printf(" If time is fine, just hit enter\r\n");
pc.putc('>');
ptr = linebuf;