diff options
author | Amber Holly <halcyonsilver@gmail.com> | 2019-10-19 02:14:49 +0100 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-10-18 18:14:49 -0700 |
commit | b23f6011c34dcb471c312655f7af37c0a0f5f779 (patch) | |
tree | 4bacbf412e19469f4cda38d65f2943debed2f24a /docs/feature_hd44780.md | |
parent | 1b1e0977e020b3b381f874144aed31d0664d88d2 (diff) | |
download | qmk_firmware-b23f6011c34dcb471c312655f7af37c0a0f5f779.tar.gz |
Remove build option firmware size impacts (#6947)
* Update rules.mk template to remove build option size impacts
* Add rules.mk cleaning script
* Update all rules.mk files to remove build option firmware size impact messages
* Remove references to feature filesize in documentation
* Revert "Update all rules.mk files to remove build option firmware size impact messages"
This reverts commit 7cfe70976bcc223bf47c960b2e6af8596df80a32.
* Fix regex in cleanup script and exclude keymaps/ directories
* Update quantum/template/avr/rules.mk
Fixed missing tabs/spaces.
Co-Authored-By: fauxpark <fauxpark@gmail.com>
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 @@ 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) -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. +You can enable support for HD44780 Displays by setting the `HD44780_ENABLE` flag in your keyboards `rules.mk` to yes. ## Configuration @@ -26,7 +26,7 @@ Uncomment the section labled HD44780 and change the parameters as needed. #define LCD_DATA3_PORT LCD_PORT //< port for 4bit data bit 3 #define LCD_DATA0_PIN 4 //< pin for 4bit data bit 0 #define LCD_DATA1_PIN 5 //< pin for 4bit data bit 1 -#define LCD_DATA2_PIN 6 //< pin for 4bit data bit 2 +#define LCD_DATA2_PIN 6 //< pin for 4bit data bit 2 #define LCD_DATA3_PIN 7 //< pin for 4bit data bit 3 #define LCD_RS_PORT LCD_PORT //< port for RS line #define LCD_RS_PIN 3 //< pin for RS line @@ -39,14 +39,14 @@ Uncomment the section labled HD44780 and change the parameters as needed. Should you need to configure other properties you can copy them from `quantum/hd44780.h` and set them in your `config.h` -## Usage +## Usage To initialize your display, call `lcd_init()` with one of these parameters: ```` LCD_DISP_OFF : display off LCD_DISP_ON : display on, cursor off LCD_DISP_ON_CURSOR : display on, cursor on -LCD_DISP_ON_CURSOR_BLINK : display on, cursor on flashing +LCD_DISP_ON_CURSOR_BLINK : display on, cursor on flashing ```` This is best done in your keyboards `matrix_init_kb` or your keymaps `matrix_init_user`. It is advised to clear the display before use. |