Skip to content

Commit fdf0c85

Browse files
chore: improve formatting of README
Signed-off-by: Aditya Agarwal <aditya.agarwal030504@gmail.com>
1 parent 6db3397 commit fdf0c85

File tree

1 file changed

+28
-6
lines changed

1 file changed

+28
-6
lines changed

README.md

+28-6
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,38 @@ As soon as the program is uploaded, the display should turn black and the follow
5454
Next, create a file called `CONFIG.TXT` on a *FAT formatted SD Card*, which will be inserted into the SD Card slot on the TFT LCD Shield. The file must contain three color codes, which will be used to draw three squares on the display. Two examples are shown below -
5555

5656

57-
|CONFIG.TXT contents|Result|
58-
|-|-|
59-
|
60-
"square-1-color" = f800"<br>"square-2-color" = "07E0"<br>"square-3-color" = "001F"|![Red, Green and Blue squares drawn](images/config_file_1.jpg)|
61-
|"square-1-color" = "fFe0" // Yellow<br><br>"square-2-color" = "7ff" // Cyan<br>"square-3-color" = "F81F" // Magenta|![Yellow, Cyan and Magenta squares drawn](images/config_file_2.jpg)|
57+
### Example 1
58+
59+
Config file -
60+
61+
```
62+
square-1-color" = f800"
63+
"square-2-color" = "07E0"
64+
"square-3-color" = "001F"
65+
```
66+
67+
Result -
68+
69+
![Red, Green and Blue squares drawn](images/config_file_1.jpg)
6270

71+
### Example 2
72+
73+
Config file -
74+
75+
```
76+
"square-1-color" = "fFe0" // Yellow
77+
78+
"square-2-color" = "7ff" // Cyan
79+
"square-3-color" = "F81F" // Magenta
80+
81+
```
6382

83+
Result -
6484

85+
![Red, Green and Blue squares drawn](images/config_file_2.jpg)
6586

66-
To create your own colors, see [this guide](https://dumblebots.com/2024/05/10/using-3-5-tft-lcd-display-ili9486-arduino-part-1-get-started/).
87+
> [!TIP]
88+
> To create your own colors, see [this guide](https://dumblebots.com/2024/05/10/using-3-5-tft-lcd-display-ili9486-arduino-part-1-get-started/).
6789
6890

6991
## Troubleshooting

0 commit comments

Comments
 (0)