Skip to content

Commit

Permalink
Merge pull request #3 from Rudis1261/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
Staacks authored Jan 11, 2022
2 parents f37ba5f + 25fb6da commit b31de1b
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,27 +37,27 @@ Apparently, the original design used revision 1 of the display, while many newly
>
>Next, go to your Arduino sketch. This is for the hardware-test script. Enable line numbering and go to line 43 which reads -
>
>GxEPD2_290 display(/*CS=*/ PIN_CS, /*DC=*/ PIN_DC, /*RST=*/ PIN_RST, /*BUSY=*/ PIN_BUSY);
```c
GxEPD2_290 display(/*CS=*/ PIN_CS, /*DC=*/ PIN_DC, /*RST=*/ PIN_RST, /*BUSY=*/ PIN_BUSY);
```
>
>Change this to -
>
>GxEPD2_290_T94 display(/*CS=*/ PIN_CS, /*DC=*/ PIN_DC, /*RST=*/ PIN_RST, /*BUSY=*/ PIN_BUSY);
>
```c
GxEPD2_290_T94 display(/*CS=*/ PIN_CS, /*DC=*/ PIN_DC, /*RST=*/ PIN_RST, /*BUSY=*/ PIN_BUSY);
```

>Then go to settings.h
>
>Lines 2 - 7 need to be altered so change that section of code as follows -
>
>const byte PIN_DIN = 16;
>
>const byte PIN_CLK = 15;
>
>const byte PIN_CS = 19;
>
>const byte PIN_DC = 18;
>
>const byte PIN_RST = 10;
>
>const byte PIN_BUSY = 14;
```c
const byte PIN_DIN = 16;
const byte PIN_CLK = 15;
const byte PIN_CS = 19;
const byte PIN_DC = 18;
const byte PIN_RST = 10;
const byte PIN_BUSY = 14;
```
>
>The sketch will then compile and when uploaded to the board you will get the Waveshare drawing all sorts of Austin Powers time machine circles that make your eyes spin!
Expand Down

0 comments on commit b31de1b

Please sign in to comment.