zephyr/samples/boards/microbit/display
Johan Hedberg d7a189d2ec drivers: display: mb_display: Unify image and string APIs
Both the string and image rendering may want to take advantage of
scrolling and sequential display capabilities. Consolidate the APIs so
that there's a single one for images (mb_display_image) and a single
one for strings (mb_display_print). Both take a duration parameter for
the per-frame duration as well as a mode parameter which specifies
sequential vs scrolling behavior as well as an optional looping flag.

Change-Id: Ia092d771e3f1b94afd494c7544dab988161c539e
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2017-04-06 00:59:30 +00:00
..
src drivers: display: mb_display: Unify image and string APIs 2017-04-06 00:59:30 +00:00
Makefile drivers: Add support for BBC micro:bit LED display 2017-04-04 08:14:36 +03:00
README.rst drivers: display: mb_display: Unify image and string APIs 2017-04-06 00:59:30 +00:00
prj.conf drivers: Add support for BBC micro:bit LED display 2017-04-04 08:14:36 +03:00
testcase.ini drivers: Add support for BBC micro:bit LED display 2017-04-04 08:14:36 +03:00

README.rst

.. _microbit_display:

BBC micro:bit display
#####################

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:

.. code-block:: console

   $ cd samples/boards/microbit/display
   $ make

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.