aboutsummaryrefslogtreecommitdiffstats
path: root/lcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'lcd.c')
-rwxr-xr-xlcd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lcd.c b/lcd.c
index 0ec8e38..5a4cede 100755
--- a/lcd.c
+++ b/lcd.c
@@ -33,7 +33,7 @@ void Lcd_Cmd(char a) {
EN = 0; // => E = 0
}
-void Lcd_Clear() {
+void Lcd_Clear(void) {
Lcd_Cmd(0);
Lcd_Cmd(1);
}
@@ -55,7 +55,7 @@ void Lcd_Set_Cursor(char a, char b) {
}
}
-void Lcd_Init() {
+void Lcd_Init(void) {
Lcd_Port(0x00);
__delay_ms(20);
Lcd_Cmd(0x03);
@@ -97,12 +97,12 @@ void Lcd_Write_String(char *a) {
Lcd_Write_Char(a[i]);
}
-void Lcd_Shift_Right() {
+void Lcd_Shift_Right(void) {
Lcd_Cmd(0x01);
Lcd_Cmd(0x0C);
}
-void Lcd_Shift_Left() {
+void Lcd_Shift_Left(void) {
Lcd_Cmd(0x01);
Lcd_Cmd(0x08);
}