Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Take a look at this graphic to understand it better:

### Update Loop

Include this in the loop of your sketch to make sure the LVGL engine is running and updating the screen.
Include this in the loop of your sketch to make sure the LVGL engine is running and updating the screen. The `lv_timer_handler()` function should be called at max every 5 milliseconds. If it would be called more frequently than that please use a non-blocking method to delay it.

```arduino
void loop() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Depending on what camera you are using it should be changed accordingly:
- HM01B0: `#define ARDUCAM_CAMERA_HM01B0`
- HM0360: `#define ARDUCAM_CAMERA_HM0360`
- GC2145: `#define ARDUCAM_CAMERA_GC2145`
- OV7675: `#define ARDUCAM_CAMERA_OV7675`
- OV7675: `#define ARDUCAM_CAMERA_OV767x`

The sketch will then capture frames into the framebuffer and print a live camera feed to the display.

Expand Down Expand Up @@ -169,6 +169,8 @@ void loop() {
}
```

***Note: Depending on the camera being used the captured resolution might be smaller than the screen. If this is the case, there will be a black bar displayed next to the captured feed, it will not be automatically centered.***

## Conclusion

This tutorial went through how to connect a compatible camera to the shield and also how to test it out quickly with the example sketch included in the core. Now you should see a live feed from the camera on your GIGA Display Shield!