-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlcd.h
41 lines (41 loc) · 1.32 KB
/
lcd.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*-------------------------------------------------------------------------
* Developed for Enersys Energy Solutions Private Limited, Hyderabad, Indiaresearch
* research on Auto Feeder.
* If you use the code cite the paper
* Appana, D. K., Alam, M. W., & Basnet, B. (2016) "A Novel Design of Feeder System
* for Aqua Culture Suitable for Shrimp Farming," International Journal of Hybrid
* Information Technology, 9(4), 199-212.
* http://www.sersc.org/journals/IJHIT/vol9_no4_2016/18.pdf
* (c) Copyright 2016 Enersys Energy Solutions, All rights reserved
*-------------------------------------------------------------------------*/
#ifndef _lcd_h
#define _lcd_h
typedef union _KEYs
{
unsigned char _KEYPORT;
struct
{
unsigned C0:1;
unsigned C1:1;
unsigned C2:1;
unsigned C3:1;
unsigned R0:1;
unsigned R1:1;
unsigned R2:1;
unsigned R3:1;
};
} KEYs;
/* Prototype Functions */
void LCDTask(void);
void MainScreen(void );
void Manual_mode_dflt_Display(void);
void Auto_mode_dflt_Display(void);
void Auto_Plus_mode_dflt_Display(void);
void RYB_Phase2Phase_Display(void);
extern void ChangePassword( void );
void LCD_StartUP_Screen(void);
void INIT_LED();
void INIT_KEYPAD();
void Write_KeyPad(unsigned char chr);
unsigned char Read_KeyPad(void);
#endif