d7a189d2ec
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> |
||
---|---|---|
.. | ||
src | ||
Makefile | ||
README.rst | ||
prj.conf | ||
testcase.ini |
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.