|
@ -1,6 +1,6 @@ |
|
|
#include "ultralcd.h" |
|
|
#include "ultralcd.h" |
|
|
#ifdef ULTRA_LCD |
|
|
#ifdef ULTRA_LCD |
|
|
|
|
|
#include <LiquidCrystal.h> |
|
|
//=========================================================================== |
|
|
//=========================================================================== |
|
|
//=============================imported variables============================ |
|
|
//=============================imported variables============================ |
|
|
//=========================================================================== |
|
|
//=========================================================================== |
|
@ -27,7 +27,6 @@ static char messagetext[LCD_WIDTH]=""; |
|
|
//return for string conversion routines |
|
|
//return for string conversion routines |
|
|
static char conv[8]; |
|
|
static char conv[8]; |
|
|
|
|
|
|
|
|
#include <LiquidCrystal.h> |
|
|
|
|
|
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 |
|
|
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 |
|
|
|
|
|
|
|
|
static unsigned long previous_millis_lcd=0; |
|
|
static unsigned long previous_millis_lcd=0; |
|
@ -42,7 +41,6 @@ static long previous_millis_buttons=0; |
|
|
|
|
|
|
|
|
static MainMenu menu; |
|
|
static MainMenu menu; |
|
|
|
|
|
|
|
|
#include <avr/pgmspace.h> |
|
|
|
|
|
|
|
|
|
|
|
void lcdProgMemprint(const char *str) |
|
|
void lcdProgMemprint(const char *str) |
|
|
{ |
|
|
{ |
|
|