Enables support the Cyrillic alphabet for LCD

This commit is contained in:
Sergey Taranenko
2012-10-12 19:06:43 +04:00
parent 24bcc9647d
commit cfc193cdac
4 changed files with 535 additions and 1 deletions

View File

@@ -6,7 +6,11 @@
#include "language.h"
#include "temperature.h"
#include "EEPROMwrite.h"
#if LANGUAGE_CHOICE == 6
#include "LiquidCrystalRus.h"
#else
#include <LiquidCrystal.h>
#endif
//===========================================================================
//=============================imported variables============================
//===========================================================================
@@ -38,7 +42,11 @@ static char messagetext[LCD_WIDTH]="";
//return for string conversion routines
static char conv[8];
#if LANGUAGE_CHOICE == 6
LiquidCrystalRus lcd(LCD_PINS_RS, LCD_PINS_ENABLE, LCD_PINS_D4, LCD_PINS_D5,LCD_PINS_D6,LCD_PINS_D7); //RS,Enable,D4,D5,D6,D7
#else
LiquidCrystal lcd(LCD_PINS_RS, LCD_PINS_ENABLE, LCD_PINS_D4, LCD_PINS_D5,LCD_PINS_D6,LCD_PINS_D7); //RS,Enable,D4,D5,D6,D7
#elseif
static unsigned long previous_millis_lcd=0;
//static long previous_millis_buttons=0;