-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathLCD_interface.h
More file actions
41 lines (30 loc) · 1.03 KB
/
LCD_interface.h
File metadata and controls
41 lines (30 loc) · 1.03 KB
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
#ifndef LCD_INTERFACE_H_
#define LCD_INTERFACE_H_
// Sends a command to the LCD
void LCD_voidSendCommand(u8 Copy_u8Command);
// Sends data to be displayed on the LCD
void LCD_voidSendData(u8 Copy_u8Data);
// Initializes the LCD
void LCD_voidInit(void);
// Sends a string to be displayed on the LCD
void LCD_voidSendString(char *str);
// Moves the cursor to the specified row and column on the LCD
void LCD_voidGoToRowColumn(unsigned char Row, unsigned char Column);
// Prints a number on the LCD
void LCD_voidPrintNumber(int num);
// Defines and sends an extra custom character to the LCD
struct Extra_Character
{
u8 *copy_u8Pattern;
u8 copy_u8PatternNumber;
u8 copy_u8Row;
u8 copy_u8Column;
};
void LCD_voidSendExtraChar(struct Extra_Character copy_character);
// Reads data from the LCD
void LCD_voidReadData(u8 *data);
// Deletes the last character displayed on the LCD
void LCD_voidDeleteLastCharacter(void);
// Clears the entire screen of the LCD
void LCD_voidClearScreen();
#endif