aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2013-01-16 15:20:47 +0100
committerJoel Bodenmann <joel@unormal.org>2013-01-16 15:20:47 +0100
commit1a05e4a89ad7351e81da0e4dd152a7375a457884 (patch)
tree5fe956e67796778248d32d7f4ddaa5dfb08b54c6 /drivers
parenta278e1c11377bb01e080d0f2ac2012e34737b651 (diff)
downloaduGFX-1a05e4a89ad7351e81da0e4dd152a7375a457884.tar.gz
uGFX-1a05e4a89ad7351e81da0e4dd152a7375a457884.tar.bz2
uGFX-1a05e4a89ad7351e81da0e4dd152a7375a457884.zip
some more TDISP cleanup
Diffstat (limited to 'drivers')
-rw-r--r--drivers/tdisp/HD44780/tdisp_lld.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/tdisp/HD44780/tdisp_lld.c b/drivers/tdisp/HD44780/tdisp_lld.c
index 29efbf92..c150c870 100644
--- a/drivers/tdisp/HD44780/tdisp_lld.c
+++ b/drivers/tdisp/HD44780/tdisp_lld.c
@@ -107,6 +107,14 @@ void tdisp_lld_create_char(uint8_t address, char *charmap) {
}
}
+void tdisp_lld_clear(void) {
+ tdisp_lld_write_cmd(0x01);
+}
+
+void tdisp_lld_home(void) {
+ tdisp_lld_write_cmd(0x02);
+}
+
#endif /* GFX_USE_TDISP */
/** @} */