You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: libraries/Arduino_H7_Video/docs/api.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ The main class for managing the video controller and the display.
14
14
|`public `[`Arduino_H7_Video`](#public-arduino_h7_videoint-width-int-height-h7displayshield-shield)| Construct a new Arduino_H7_Video object with the specified width, height, and display shield. |
15
15
|`public int`[`begin`](#public-int-begin)| Initialize the video controller and display. |
16
16
|`public void`[`end`](#public-void-end)| De-initialize the video controller and display. |
17
+
|`public bool`[`detect`](#public-bool-detect)| Checks if the display is connected. |
17
18
|`public int`[`width`](#public-int-width)| Get the width of the display. |
18
19
|`public int`[`height`](#public-int-height)| Get the height of the display. |
19
20
|`public bool`[`isRotated`](#public-bool-isrotated)| Check if the display is rotated. |
@@ -54,6 +55,15 @@ De-initialize the video controller and display.
54
55
55
56
---
56
57
58
+
### `public bool`[`detect`](#)`()`
59
+
60
+
Checks if the display is connected.
61
+
62
+
#### Returns
63
+
`bool`: True if the display is connected, False otherwis.
0 commit comments