aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2013-01-12 09:38:38 +0100
committerJoel Bodenmann <joel@unormal.org>2013-01-12 09:38:38 +0100
commit1c1b3c8d74b1bff02bffbec91bcdc96fce61a82e (patch)
treec18fe1827cb4fcc3823f01a2f995e08b39f485a6 /include
parentff8e8c47d9c51c54995d2b0169d4b6d2edebdb3f (diff)
downloaduGFX-1c1b3c8d74b1bff02bffbec91bcdc96fce61a82e.tar.gz
uGFX-1c1b3c8d74b1bff02bffbec91bcdc96fce61a82e.tar.bz2
uGFX-1c1b3c8d74b1bff02bffbec91bcdc96fce61a82e.zip
TDISP: added custom character routine
Diffstat (limited to 'include')
-rw-r--r--include/tdisp/tdisp.h13
1 files changed, 12 insertions, 1 deletions
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
*/
@@ -93,6 +93,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
*
* @param[in] c The character to be drawn