Skip to content

Commit

Permalink
update readme and bin files
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisxhe committed Feb 14, 2019
1 parent 027a6ea commit 4fabb68
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 4 deletions.
13 changes: 13 additions & 0 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,19 @@ 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 |

## 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.
```
#define TTGO_T5_1_2 1
#define TTGO_T5_2_0 0
#define TTGO_T5_2_1 0
#define TTGO_T5_2_2 0
#define TTGO_T5_2_3 0
```

- Check the screen size and color used. The default configuration screen list can be viewed in `board_def.h`. The default configuration is based on the size of the TTGO store. Except for the T5 V1.2 version, the T5 V1.2 needs to be configured according to the actual situation. The corresponding header file, 1.54 inches will not be fully displayed in this program

## Install the following dependency library files:
- [Button2](https://github.com/lewisxhe/Button2)
- [GxEPD](https://github.com/ZinggJM/GxEPD)
Expand Down
1 change: 0 additions & 1 deletion TTGO-Badge.ino
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
// #include <GxGDEW075Z09/GxGDEW075Z09.h> // 7.5" b/w/r



#include <Fonts/FreeMono9pt7b.h>
#include <Fonts/FreeMonoBoldOblique9pt7b.h>
#include <Fonts/FreeMonoBold9pt7b.h>
Expand Down
Binary file added bin/T5-V1.2-2.7Inch-bw.bin
Binary file not shown.
File renamed without changes.
Binary file added bin/T5_V2.2-2.9Inch-bwr.bin
Binary file not shown.
Binary file added bin/T5_V2.3_2.0Inch-bw.bin
Binary file not shown.
Binary file added bin/T5_V2.3_2.13Inch-bw.bin
Binary file not shown.
13 changes: 10 additions & 3 deletions board_def.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@

#define TTGO_T5_1_2 0
#define TTGO_T5_1_2 1
#define TTGO_T5_2_0 0
#define TTGO_T5_2_1 0
#define TTGO_T5_2_2 1
#define TTGO_T5_2_2 0
#define TTGO_T5_2_3 0

#if TTGO_T5_1_2
#include <GxGDEW027W3/GxGDEW027W3.h> // 2.7" b/w
//#include <GxGDEP015OC1/GxGDEP015OC1.h> // 1.54" b/w
// #include <GxGDEW0154Z04/GxGDEW0154Z04.h> // 1./54" b/w/r 200x200
//#include <GxGDEW0154Z17/GxGDEW0154Z17.h> // 1.54" b/w/r 152x152
#include <GxGDEW027W3/GxGDEW027W3.h> // 2.7" b/w
// #include <GxGDEH029A1/GxGDEH029A1.h> // 2.9" b/w
//#include <GxGDEW029Z10/GxGDEW029Z10.h> // 2.9" b/w/r
//#include <GxGDE0213B1/GxGDE0213B1.h> // 2.13" b/w
// #include <GxGDEW0213Z16/GxGDEW0213Z16.h> // 2.13" b/w/r
#define ELINK_BUSY 4
#define ELINK_RESET 16
#define ELINK_DC 17
Expand Down

0 comments on commit 4fabb68

Please sign in to comment.