Skip to content

Commit 40340d0

Browse files
Merge pull request #499 from arduino/benjamindannegard/product-page-revision
[GIGA-Display-Shield] Product-page-revision
2 parents 697c49e + dc81c03 commit 40340d0

File tree

4 files changed

+41
-3
lines changed

4 files changed

+41
-3
lines changed

content/hardware/10.mega/shields/giga-display-shield/essentials.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
The library manages the touch controller of the GIGA Display Shield.
1212
</EssentialElement>
1313

14-
<EssentialElement link="https://github.com/arduino-libraries/ArduinoGraphics" title="Arduino Graphics" type="library">
14+
<EssentialElement link="https://www.arduino.cc/reference/en/libraries/arduinographics/" title="Arduino Graphics" type="library">
1515
A Library with graphical features to produce visuals on the GIGA Display Shield.
1616
</EssentialElement>
1717

18-
<EssentialElement link="https://github.com/arduino-libraries/Arduino_BMI270_BMM150" title="Arduino_BMI270_BMM150.h" type="library">
18+
<EssentialElement link="https://reference.arduino.cc/reference/en/libraries/arduino_bmi270_bmm150/" title="Arduino_BMI270_BMM150.h" type="library">
1919
A Library for using the IMU sensor on the GIGA Display Shield.
2020
</EssentialElement>
2121

content/hardware/10.mega/shields/giga-display-shield/tech-specs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Connectors:
55
Camera: SOCKET 2ROW 20POS VERTICAL PASS THROUGH
66
Display Video: F32Q-1A7H1-11020
77
Display Touch: F32Q-1A7H1-11008
8-
Display:
8+
Display (KD040WVFID026-01-C025A):
99
Size: 3.97”
1010
Resolution: 480x800 RGB
1111
Color: 16.7M
@@ -14,6 +14,8 @@ Display:
1414
Sensors:
1515
IMU: BMI270
1616
Microphone: MP34DT06JTR
17+
Pins:
18+
LED: 1 RGB LED (I2C)
1719
Power:
1820
Circuit operating voltage:
1921
Input voltage (VIN):

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

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,42 @@ Now that the drawing is done the `Display.endDraw()` function can be called.
8383

8484
The complete code can be found as an example in the **Arduino_H7_video** library, it is called **ArduinoLogoDrawing**. Now upload the entire sketch and you should see the Arduino logo being drawn on the display.
8585

86+
### Full Sketch
87+
88+
```arduino
89+
#include "Arduino_H7_Video.h"
90+
#include "ArduinoGraphics.h"
91+
92+
Arduino_H7_Video Display(800, 480, GigaDisplayShield);
93+
//Arduino_H7_Video Display(1024, 768, USBCVideo);
94+
95+
void setup() {
96+
Display.begin();
97+
98+
Display.beginDraw();
99+
Display.background(255, 255, 255);
100+
Display.clear();
101+
Display.fill(0x008184);
102+
Display.circle(Display.width()/2, Display.height()/2, 300);
103+
Display.stroke(255, 255, 255);
104+
Display.noFill();
105+
for (int i=0; i<30; i++) {
106+
Display.circle((Display.width()/2)-55+5, Display.height()/2, 110-i);
107+
Display.circle((Display.width()/2)+55-5, Display.height()/2, 110-i);
108+
}
109+
Display.fill(255, 255, 255);
110+
Display.rect((Display.width()/2)-55-16+5, (Display.height()/2)-5, 32, 10);
111+
Display.fill(255, 255, 255);
112+
Display.rect((Display.width()/2)+55-16-5, (Display.height()/2)-5, 32, 10);
113+
Display.fill(255, 255, 255);
114+
Display.rect((Display.width()/2)+55-5-5, (Display.height()/2)-16, 10, 32);
115+
Display.endDraw();
116+
}
117+
118+
void loop() { }
119+
120+
```
121+
86122
## Testing It Out
87123

88124
Now that it is all uploaded your display shield should look like the image below:

0 commit comments

Comments
 (0)