Harry Chen / EPD_GDEW075T8

Dependents:   EInkTest

Committer:
HarryChen
Date:
Mon Oct 15 04:12:41 2018 +0000
Revision:
3:8129e159831b
Parent:
2:73f957691c31
Child:
4:a038b8b2ee11
Allow user to customize pin name

Who changed what in which revision?

UserRevisionLine numberNew contents of line
HarryChen 0:518ad5d26088 1 #ifndef __GDEW075T8_H
HarryChen 0:518ad5d26088 2 #define __GDEW075T8_H
HarryChen 0:518ad5d26088 3
HarryChen 1:6ae4383194a1 4 #include "PixelSource.h"
HarryChen 1:6ae4383194a1 5
HarryChen 1:6ae4383194a1 6 namespace GDE {
HarryChen 1:6ae4383194a1 7
HarryChen 1:6ae4383194a1 8 const int BUFFER_SIZE = 640 * 384 / 8;
HarryChen 0:518ad5d26088 9
HarryChen 3:8129e159831b 10 void setup(DigitalOut *nCS, DigitalOut *nDC,
HarryChen 3:8129e159831b 11 DigitalOut *nRST, DigitalIn *ready, SPI *spi);
HarryChen 3:8129e159831b 12
HarryChen 1:6ae4383194a1 13 void start();
HarryChen 1:6ae4383194a1 14 void stop();
HarryChen 1:6ae4383194a1 15
HarryChen 1:6ae4383194a1 16 void showPixels(PixelSource &source, bool needRefresh = true);
HarryChen 1:6ae4383194a1 17
HarryChen 1:6ae4383194a1 18 }
HarryChen 0:518ad5d26088 19
HarryChen 0:518ad5d26088 20 #endif