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.
GDEW075T8.h@1:6ae4383194a1, 2018-10-15 (annotated)
- Committer:
- HarryChen
- Date:
- Mon Oct 15 03:53:22 2018 +0000
- Revision:
- 1:6ae4383194a1
- Parent:
- 0:518ad5d26088
- Child:
- 2:73f957691c31
Update library to use OO
Who changed what in which revision?
| User | Revision | Line number | New 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 | 1:6ae4383194a1 | 10 | void start(); |
| HarryChen | 1:6ae4383194a1 | 11 | void stop(); |
| HarryChen | 1:6ae4383194a1 | 12 | void refresh(); |
| HarryChen | 1:6ae4383194a1 | 13 | |
| HarryChen | 1:6ae4383194a1 | 14 | void showPixels(PixelSource &source, bool needRefresh = true); |
| HarryChen | 1:6ae4383194a1 | 15 | |
| HarryChen | 1:6ae4383194a1 | 16 | } |
| HarryChen | 0:518ad5d26088 | 17 | |
| HarryChen | 0:518ad5d26088 | 18 | #endif |
