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.
Dependencies: EPD_GDEW075T8 mbed
Revision 6:0d38aa19198e, committed 2018-10-17
- Comitter:
- HarryChen
- Date:
- Wed Oct 17 14:05:45 2018 +0000
- Parent:
- 5:326a3e0e6950
- Commit message:
- Update
Changed in this revision
| EPD_GDEW075T8.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 |
--- a/EPD_GDEW075T8.lib Wed Oct 17 14:00:37 2018 +0000 +++ b/EPD_GDEW075T8.lib Wed Oct 17 14:05:45 2018 +0000 @@ -1,1 +1,1 @@ -https://os.mbed.com/users/HarryChen/code/EPD_GDEW075T8/#a038b8b2ee11 +https://os.mbed.com/users/HarryChen/code/EPD_GDEW075T8/#fa9eb887e9a6
--- a/main.cpp Wed Oct 17 14:00:37 2018 +0000
+++ b/main.cpp Wed Oct 17 14:05:45 2018 +0000
@@ -2,7 +2,7 @@
#include "GDEW075T8.h"
#include "DemoPixelSource.h"
-// TODO: use real pin name
+
DigitalOut nCS(PA_4);
DigitalOut nDC(PA_1);
DigitalOut nRST(PA_3);
@@ -17,11 +17,13 @@
GDE::setup(&nCS, &nDC, &nRST, &ready, &spi);
GDE::start();
- while(true){
+
+ while(true) {
demoSource->setColor(false);
GDE::showPixels(demoSource);
demoSource->setColor(true);
GDE::showPixels(demoSource);
}
+
GDE::stop();
}
