2017-04-03 01:54:23 +08:00
|
|
|
.. _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:
|
|
|
|
|
2017-11-12 17:13:07 +08:00
|
|
|
.. zephyr-app-commands::
|
|
|
|
:zephyr-app: samples/boards/microbit/display
|
|
|
|
:board: bbc_microbit
|
|
|
|
:goals: build
|
|
|
|
:compact:
|
2017-04-03 01:54:23 +08:00
|
|
|
|
|
|
|
Sample Output
|
|
|
|
=============
|
|
|
|
|
|
|
|
The sample app displays a countdown of the characters 9-0, iterates
|
2017-04-05 23:36:36 +08:00
|
|
|
through all pixels one-by-one, displays a smiley face, some animations,
|
|
|
|
and finally the text "Hello Zephyr!" by scrolling.
|