Skip to content

Commit 85644b0

Browse files
authored
Merge pull request #1603 from arduino/benjamindannegard/display-shield-image-fixes
[GIGA Display Shield]Switched svg images to png
2 parents cfa7ff3 + a1ce866 commit 85644b0

File tree

8 files changed

+3
-73
lines changed

8 files changed

+3
-73
lines changed

content/hardware/10.mega/shields/giga-display-shield/tutorials/04.basic-draw-and-image/assets/file-structure.svg

Lines changed: 0 additions & 28 deletions
This file was deleted.

content/hardware/10.mega/shields/giga-display-shield/tutorials/04.basic-draw-and-image/assets/logo-img.svg

Lines changed: 0 additions & 15 deletions
This file was deleted.

content/hardware/10.mega/shields/giga-display-shield/tutorials/04.basic-draw-and-image/content.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ We will be using the example sketch "ArduinoLogo" as the basis for the sketch th
143143

144144
Running the example sketch as is will display the Arduino logo on the screen, like in the image below:
145145

146-
![Arduino Logo on the GIGA Display Shield](assets/logo-img.svg)
146+
![Arduino Logo on the GIGA Display Shield](assets/logo-img.png)
147147

148148
Now to use the image that we converted in the last step. Use the macro inside the example sketch. This makes use of the `incbin.h` translation library. The necessary files are located in the folder for the example sketch.
149149

@@ -165,7 +165,7 @@ By default the image we import will be called `test`. The line `Image img_arduin
165165

166166
To run this sketch you will need to have the image file that is used in the code in the correct location. In the example from the library, the image is in the same folder as the sketch, as shown in the image below. Please make sure the image you want to use matches the location indicated in the code.
167167

168-
![Folder structure for the sketch](assets/file-structure.svg)
168+
![Folder structure for the sketch](assets/file-structure.png)
169169

170170
```arduino
171171
/*

content/hardware/10.mega/shields/giga-display-shield/tutorials/06.image-orientation/assets/folder-struct.svg

Lines changed: 0 additions & 27 deletions
This file was deleted.

content/hardware/10.mega/shields/giga-display-shield/tutorials/06.image-orientation/content.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ void loop(){
114114

115115
Please note that the image that you want to use with the sketch needs to be in the same folder as the sketch for it to work. It should look like the image below:
116116

117-
![Folder structure](assets/folder-struct.svg)
117+
![Folder structure](assets/folder-struct.png)
118118

119119
Now to put it all together where the image will change depending on how we rotate the board and shield:
120120

0 commit comments

Comments
 (0)