Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Maple_LCD.cpp
- Revision:
- 3:eec13a411e94
- Parent:
- 1:aefa1992ce0f
--- a/Maple_LCD.cpp Sun Oct 16 01:27:35 2011 +0000
+++ b/Maple_LCD.cpp Sun Oct 30 21:20:23 2011 +0000
@@ -337,9 +337,12 @@
LCD_set_DDRAM_address(row * 0x40 + column);
}
-// set cursor on/off
-// c: cursor .. 0: off, 1: on
-// blink = off
-void LCD_cursor(int c) {
- LCD_display_on_off_control(1, c, 0);
+// set cursor on, blink off
+void LCD_cursor_on() {
+ LCD_display_on_off_control(1, 1, 0);
}
+
+// set cursor off, blink off
+void LCD_cursor_off() {
+ LCD_display_on_off_control(1, 0, 0);
+}