-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: minor adjustments to examples
- Loading branch information
1 parent
ebc7ee3
commit 82c52fc
Showing
6 changed files
with
154 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
/* | ||
This file only exists to make the example simpler to run | ||
It picks the class name and image size to suit your display | ||
Normally, you would have written something like this instead: | ||
#include "pencils_200x200.h" | ||
DEPG0150BNS810 display(2, 4, 5); // Pins for DC, CS, BUSY | ||
*/ | ||
|
||
|
||
#if defined USING_DEPG0150BNS810 | ||
#define DISPLAY_CLASS DEPG0150BNS810 | ||
#define PENCILS_H "pencils_200x200.h" | ||
|
||
#elif defined USING_DEPG0154BNS800 | ||
#define DISPLAY_CLASS DEPG0154BNS800 | ||
#define PENCILS_H "pencils_152x152.h" | ||
|
||
#elif defined USING_GDEP015OC1 | ||
#define DISPLAY_CLASS GDEP015OC1 | ||
#define PENCILS_H "pencils_200x200.h" | ||
|
||
#elif defined USING_DEPG0213RWS800 | ||
#define DISPLAY_CLASS QYEG0213RWS800 | ||
#define PENCILS_H "pencils_250x122.h" | ||
|
||
#elif defined USING_QYEG0213RWS800 | ||
#define DISPLAY_CLASS QYEG0213RWS800 | ||
#define PENCILS_H "pencils_250x122.h" | ||
|
||
#elif defined USING_DEPG0290BNS75A | ||
#define DISPLAY_CLASS DEPG0290BNS75A | ||
#define PENCILS_H "pencils_296x128.h" | ||
|
||
#elif defined USING_DEPG0290BNS800 | ||
#define DISPLAY_CLASS DEPG0290BNS800 | ||
#define PENCILS_H "pencils_296x128.h" | ||
|
||
#elif defined USING_GDE029A1 | ||
#define DISPLAY_CLASS GDE029A1 | ||
#define PENCILS_H "pencils_296x128.h" | ||
|
||
#elif defined USING_DEPG0213BNS800 | ||
#define DISPLAY_CLASS DEPG0213BNS800 | ||
#define PENCILS_H "pencils_250x122.h" | ||
|
||
#elif defined USING_LCMEN2R13EFC1 | ||
#define DISPLAY_CLASS LCMEN2R13EFC1 | ||
#define PENCILS_H "pencils_250x122.h" | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/* | ||
This file only exists to make the example simpler to run | ||
It picks the class name and image size to suit your display | ||
Normally, you would have written something like this instead: | ||
#include "pencils_200x200.h" | ||
DEPG0150BNS810 display(2, 4, 5); // Pins for DC, CS, BUSY | ||
*/ | ||
|
||
#if defined USING_DEPG0150BNS810 | ||
#define DISPLAY_CLASS DEPG0150BNS810 | ||
#define CHESS_H "chess_200x200.h" | ||
|
||
#elif defined USING_DEPG0154BNS800 | ||
#define DISPLAY_CLASS DEPG0154BNS800 | ||
#define CHESS_H "chess_152x152.h" | ||
|
||
#elif defined USING_GDEP015OC1 | ||
#define DISPLAY_CLASS GDEP015OC1 | ||
#define CHESS_H "chess_200x200.h" | ||
|
||
#elif defined USING_DEPG0213RWS800 | ||
#define DISPLAY_CLASS QYEG0213RWS800 | ||
#define CHESS_H "chess_250x122.h" | ||
|
||
#elif defined USING_QYEG0213RWS800 | ||
#define DISPLAY_CLASS QYEG0213RWS800 | ||
#define CHESS_H "chess_250x122.h" | ||
|
||
#elif defined USING_DEPG0290BNS75A | ||
#define DISPLAY_CLASS DEPG0290BNS75A | ||
#define CHESS_H "chess_296x128.h" | ||
|
||
#elif defined USING_DEPG0290BNS800 | ||
#define DISPLAY_CLASS DEPG0290BNS800 | ||
#define CHESS_H "chess_296x128.h" | ||
|
||
#elif defined USING_GDE029A1 | ||
#define DISPLAY_CLASS GDE029A1 | ||
#define CHESS_H "chess_296x128.h" | ||
|
||
#elif defined USING_DEPG0213BNS800 | ||
#define DISPLAY_CLASS DEPG0213BNS800 | ||
#define CHESS_H "chess_250x122.h" | ||
|
||
#elif defined USING_LCMEN2R13EFC1 | ||
#define DISPLAY_CLASS LCMEN2R13EFC1 | ||
#define CHESS_H "chess_250x122.h" | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters