380d24de1d
Adds a simple driver to access the 5x5 LED display found on BBC micro:bit boards. The display is so limited that no effort is done to try to integrate with the existing console (which would likely make the display unusable). Instead, dedicated mb_display_* APIs are added that are specific to this display. References: https://www.microbit.co.uk/device/screen https://lancaster-university.github.io/microbit-docs/ubit/display/ Jira: ZEP-1990 Change-Id: I431b5b358b5f07592a60d3aed87eaab6ac20ce25 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
12 lines
221 B
C
12 lines
221 B
C
/*
|
|
* Copyright (c) 2017 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#define MB_FONT_COUNT 95
|
|
#define MB_FONT_START ' '
|
|
#define MB_FONT_END '~'
|
|
|
|
extern const struct mb_image mb_font[MB_FONT_COUNT];
|