X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Farduino-mega%2Ftemplates%2Fkernel%2Fcfg%2Fcfg_lcd_hd44.h;fp=boards%2Farduino-mega%2Ftemplates%2Fkernel%2Fcfg%2Fcfg_lcd_hd44.h;h=78f1f20bb9088b5accd1772a37401e939b29b0b6;hb=450741a2b0b851ba6f71cb6e87fd5f61fe311beb;hp=0000000000000000000000000000000000000000;hpb=fc82096bbc71c4197171bdfa33584df6b69038f6;p=bertos.git diff --git a/boards/arduino-mega/templates/kernel/cfg/cfg_lcd_hd44.h b/boards/arduino-mega/templates/kernel/cfg/cfg_lcd_hd44.h new file mode 100644 index 00000000..78f1f20b --- /dev/null +++ b/boards/arduino-mega/templates/kernel/cfg/cfg_lcd_hd44.h @@ -0,0 +1,55 @@ +/** + * \file + * + * + * \brief Configuration file for lcd display module. + * + * \author Daniele Basile + */ + +#ifndef CFG_LCD_H +#define CFG_LCD_H + +/** + * Use 4 bit addressing mode. + * $WIZ$ type = "boolean" + */ +#define CONFIG_LCD_4BIT 0 + +/** + * Use a table to speed up LCD memory addressing. + * This will use about 100 bytes of RAM. + * $WIZ$ type = "boolean" + */ +#define CONFIG_LCD_ADDRESS_FAST 1 + +#endif /* CFG_LCD_H */ +