Skip to content

Commit

Permalink
update readme ,add GxGDE0213B72
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisxhe committed Mar 19, 2019
1 parent ddf4afd commit 14dce6d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
10 changes: 10 additions & 0 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,16 @@ TTGO Badge & TTGO EPaper Series
| SPRAM | N/A | N/A | N/A | supported | N/A | supported |
| Support EPaper Size | Full Size | Full Size | Full Size | Full Size | Full Size | Full Size |


## Note
- There are two versions of the current 2.13 e-paper, all of which will use the `GxGDE0213B72` model later, and the `GxGDE0213B1` model has been stopped. The default setting is `GxGDE0213B72`. If the old version screen is changed, please change the corresponding header in `board_def.h`. file


```
// #include <GxGDE0213B1/GxGDE0213B1.h> // 2.13" b/w
#include <GxGDE0213B72/GxGDE0213B72.h> // 2.13" b/w
```
## First
- For the first time, change the macro definition in `board_def.h` according to the corresponding layout and screen, and change the version to be used to 1.
Expand Down
5 changes: 3 additions & 2 deletions board_def.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

#define TTGO_T5_1_2 1
#define TTGO_T5_1_2 0
#define TTGO_T5_2_0 0
#define TTGO_T5_2_1 0
#define TTGO_T5_2_2 0
Expand Down Expand Up @@ -60,7 +60,8 @@
#define SPEAKER_OUT 25

#elif (TTGO_T5_2_0)||(TTGO_T5_2_3)
#include <GxGDE0213B1/GxGDE0213B1.h> // 2.13" b/w
// #include <GxGDE0213B1/GxGDE0213B1.h> // 2.13" b/w
#include <GxGDE0213B72/GxGDE0213B72.h> // 2.13" b/w
#define SPI_MOSI 23
#define SPI_MISO -1
#define SPI_CLK 18
Expand Down

0 comments on commit 14dce6d

Please sign in to comment.