diff options
Diffstat (limited to 'docs/feature_hd44780.md')
-rw-r--r-- | docs/feature_hd44780.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/feature_hd44780.md b/docs/feature_hd44780.md index e0838948a..0a174035b 100644 --- a/docs/feature_hd44780.md +++ b/docs/feature_hd44780.md | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | This is an integration of Peter Fleury's LCD library. This page will explain the basics. [For in depth documentation visit his page.](http://homepage.hispeed.ch/peterfleury/doxygen/avr-gcc-libraries/group__pfleury__lcd.html) | 3 | This is an integration of Peter Fleury's LCD library. This page will explain the basics. [For in depth documentation visit his page.](http://homepage.hispeed.ch/peterfleury/doxygen/avr-gcc-libraries/group__pfleury__lcd.html) |
4 | 4 | ||
5 | You can enable support for HD44780 Displays by setting the `HD44780_ENABLE` flag in your keyboards `rules.mk` to yes. This will use about 400 KB of extra space. | 5 | You can enable support for HD44780 Displays by setting the `HD44780_ENABLE` flag in your keyboards `rules.mk` to yes. |
6 | 6 | ||
7 | ## Configuration | 7 | ## Configuration |
8 | 8 | ||
@@ -26,7 +26,7 @@ Uncomment the section labled HD44780 and change the parameters as needed. | |||
26 | #define LCD_DATA3_PORT LCD_PORT //< port for 4bit data bit 3 | 26 | #define LCD_DATA3_PORT LCD_PORT //< port for 4bit data bit 3 |
27 | #define LCD_DATA0_PIN 4 //< pin for 4bit data bit 0 | 27 | #define LCD_DATA0_PIN 4 //< pin for 4bit data bit 0 |
28 | #define LCD_DATA1_PIN 5 //< pin for 4bit data bit 1 | 28 | #define LCD_DATA1_PIN 5 //< pin for 4bit data bit 1 |
29 | #define LCD_DATA2_PIN 6 //< pin for 4bit data bit 2 | 29 | #define LCD_DATA2_PIN 6 //< pin for 4bit data bit 2 |
30 | #define LCD_DATA3_PIN 7 //< pin for 4bit data bit 3 | 30 | #define LCD_DATA3_PIN 7 //< pin for 4bit data bit 3 |
31 | #define LCD_RS_PORT LCD_PORT //< port for RS line | 31 | #define LCD_RS_PORT LCD_PORT //< port for RS line |
32 | #define LCD_RS_PIN 3 //< pin for RS line | 32 | #define LCD_RS_PIN 3 //< pin for RS line |
@@ -39,14 +39,14 @@ Uncomment the section labled HD44780 and change the parameters as needed. | |||
39 | 39 | ||
40 | Should you need to configure other properties you can copy them from `quantum/hd44780.h` and set them in your `config.h` | 40 | Should you need to configure other properties you can copy them from `quantum/hd44780.h` and set them in your `config.h` |
41 | 41 | ||
42 | ## Usage | 42 | ## Usage |
43 | 43 | ||
44 | To initialize your display, call `lcd_init()` with one of these parameters: | 44 | To initialize your display, call `lcd_init()` with one of these parameters: |
45 | ```` | 45 | ```` |
46 | LCD_DISP_OFF : display off | 46 | LCD_DISP_OFF : display off |
47 | LCD_DISP_ON : display on, cursor off | 47 | LCD_DISP_ON : display on, cursor off |
48 | LCD_DISP_ON_CURSOR : display on, cursor on | 48 | LCD_DISP_ON_CURSOR : display on, cursor on |
49 | LCD_DISP_ON_CURSOR_BLINK : display on, cursor on flashing | 49 | LCD_DISP_ON_CURSOR_BLINK : display on, cursor on flashing |
50 | ```` | 50 | ```` |
51 | This is best done in your keyboards `matrix_init_kb` or your keymaps `matrix_init_user`. | 51 | This is best done in your keyboards `matrix_init_kb` or your keymaps `matrix_init_user`. |
52 | It is advised to clear the display before use. | 52 | It is advised to clear the display before use. |