Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Some of the code gets lost in Markdown, just adding code blocks around it so you can see what the correct content is.
  • Loading branch information
Rudis1261 authored Jan 11, 2022
1 parent f37ba5f commit 25fb6da
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 25fb6da

Please sign in to comment.