grove LCD screen class
Spaniakos - grove LCD screen class
LCD.h
1 /*
2  Copyright (C) 2014 G. Spanos <spaniakos@gmail.com
3 
4  This program is free software; you can redistribute it and/or
5  modify it under the terms of the GNU General Public License
6  version 2 as published by the Free Software Foundation.
7  */
8 
15 #ifndef __LCD_H__
16 #define __LCD_H__
17 
18 #include "LCD_config.h"
19 
20 class LCD : public rgb_lcd{
21  private:
22  int colorR;
23  int colorG;
24  int colorB;
25  int cols;
26  int lines;
27  public:
28  char LCD_out[16];
38  LCD(int R,int G, int B, int c, int l);
39 
44  void begin();
45 
53  void Pad_Str(String* my_str,int size);
54 
61  void Clear_Char_Array(char *my_ar,int size);
62 
69  void Print_To_LCD(int col,int line);
70 
79  void Print_To_Screen(String str1,String str2);
80 
81 
82 };
83 
124 #endif //TempSennsor
125 
126 
int cols
Definition: LCD.h:25
int lines
Definition: LCD.h:26
int colorG
Definition: LCD.h:23
char LCD_out[16]
Definition: LCD.h:28
int colorB
Definition: LCD.h:24
void Print_To_LCD(int col, int line)
Definition: LCD.cpp:40
int colorR
Definition: LCD.h:22
void Clear_Char_Array(char *my_ar, int size)
Definition: LCD.cpp:34
LCD(int R, int G, int B, int c, int l)
Definition: LCD.cpp:14
void Print_To_Screen(String str1, String str2)
Definition: LCD.cpp:45
void Pad_Str(String *my_str, int size)
Definition: LCD.cpp:27
Definition: LCD.h:20
void begin()
Definition: LCD.cpp:22