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
Diff: main.cpp
- Revision:
- 2:686cb2cf459f
- Parent:
- 1:4083aff0fa16
- Child:
- 3:c31bcab79c10
--- a/main.cpp Mon Oct 15 03:53:31 2018 +0000
+++ b/main.cpp Mon Oct 15 04:12:49 2018 +0000
@@ -2,10 +2,18 @@
#include "GDEW075T8.h"
#include "DemoPixelSource.h"
+// TODO: use real pin name
+DigitalOut nCS(D1);
+DigitalOut nDC(D2);
+DigitalOut nRST(D3);
+DigitalIn ready(D4);
+SPI spi(D5, D6, D7, D8);
+
int main() {
GDE::PixelSource demoSource = GDE::DemoPixelSource();
+ GDE::setup(&nCS, &nDC, &nRST, &ready, &spi);
GDE::start();
GDE::showPixels(demoSource);
GDE::stop();
