The latest development version of this page may be more current than this released 2.0.0 version.

LittlevGL Basic Sample

Overview

This sample application displays “Hello World” in the center of the screen and a counter at the bottom which increments every second.

Wiring

The nrf52840 Preview development kit should be connected as follows to the Adafruit TFT display.

nrf52840
Pin
Adafruit TFT
Pin
P1.15 SCK
P0.31 D/C
P0.30 RST
P1.13 MOSI
P1.14 MISO
P0.4 CS

Building and Running

Build this sample using the following commands:

west build -b nrf52840_pca10056 samples/gui/lvgl

See nRF52840-PCA10056 on how to flash the build.

or

west build -b native_posix samples/gui/lvgl