zephyr/samples/boards/bbc/microbit/display
Gerard Marull-Paretas 123c00aa10 samples: fix zephyr/drivers/gpio.h usage
Only include the header if using any of the GPIO API calls/
struct/defines.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2024-12-18 18:15:15 +01:00
..
src samples: fix zephyr/drivers/gpio.h usage 2024-12-18 18:15:15 +01:00
CMakeLists.txt
prj.conf
README.rst
sample.yaml

.. zephyr:code-sample:: bbc_microbit_display
   :name: LED matrix display

   Use the 5x5 LED matrix display on the BBC micro:bit board.

Overview
********
A simple example that demonstrates how to use the 5x5 LED matrix display
on the BBC micro:bit board.

Building
********

This project outputs various things on the BBC micro:bit display. It can
be built as follows:

.. zephyr-app-commands::
   :zephyr-app: samples/boards/bbc/microbit/display
   :board: bbc_microbit
   :goals: build
   :compact:

Sample Output
=============

The sample app displays a countdown of the characters 9-0, iterates
through all pixels one-by-one, displays a smiley face, some animations,
and finally the text "Hello Zephyr!" by scrolling.