From 1c1b3c8d74b1bff02bffbec91bcdc96fce61a82e Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Sat, 12 Jan 2013 09:38:38 +0100 Subject: TDISP: added custom character routine --- include/tdisp/tdisp.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/tdisp/tdisp.h b/include/tdisp/tdisp.h index c7dbd4a0..7bf5f69f 100644 --- a/include/tdisp/tdisp.h +++ b/include/tdisp/tdisp.h @@ -68,7 +68,7 @@ bool_t tdispInit(void); /** * @brief Control different display properties * @note Multiple attributes can be passed using the OR operator. - * @note Example: TDISP_DISPLAY_ON | TDISP_CURSOR_BLINK + * @note Example: tdispSetAttributes(TDISP_DISPLAY_ON | TDISP_CURSOR_BLINK) * * @param[in] attributes The attributes */ @@ -92,6 +92,17 @@ void tdispHome(void); */ void tdispGotoXY(coord_t col, coord_t row); +/** + * @brief Store a custom character in the displays RAM + * + * @note This usually must be done after each power-up since most + * LCDs lose their RAM content. + * + * @param[in] location On which address to store the character (from 0 up to max) + * @param[in] char The character to be stored. This is an array. + */ +void tdispCreateChar(uint8_t location, char *charmap); + /** * @brief Draws a single character at the current cursor position * -- cgit v1.2.3