-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlcd.h
85 lines (73 loc) · 2.69 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
/******************************************************************************************
File Name : lcd.h
Author&Editor Name : Ananth Deshpande
Professional Masters in Embedded Systems
Fall 2021, UCB.
Editor email id : [email protected]
IDE used for Coding : ccstudio IDE
Compiler : GCC
Date : 4th December 2021
Info on Code obtained from other sources:
This code has been obtained from TI C code examples and has been edited
according to our program needs
*******************************************************************************************/
#ifndef LCD_H_
#define LCD_H_
/***************************************************************************
* initialise LCD
*
* Parameters: void
*
* Returns: void
**************************************************************************/
void LCD_init();
/***************************************************************************
* to execute commands to LCD
*
* Parameters: command --> the command for LCD
*
* Returns: void
**************************************************************************/
void LCD_command(register unsigned char command);
/***************************************************************************
* to send data to LCD
*
* Parameters: data --> data to be sent to LCD
*
* Returns: void
**************************************************************************/
void LCD_data(register unsigned char data);
/***************************************************************************
* to display string on LCD
*
* Parameters: str --> the string to be displayed
*
* Returns: void
**************************************************************************/
void displayString(char *str);
/***************************************************************************
* to display frequency values on LCD
*
* Parameters: frequency --> frequency to be displayed
*
* Returns: void
**************************************************************************/
void displayFrequency(register int frequency);
/***************************************************************************
* to display boot up message
*
* Parameters: void
*
* Returns: void
**************************************************************************/
void displayBootUpMessage();
/***************************************************************************
* to display success message
*
* Parameters: void
*
* Returns: void
**************************************************************************/
void displaySucessMessage();
#endif /* LCD_H_ */
/***************************end of file*************************************/