diff options
author | William Harrington <kb0iic@berzerkula.org> | 2019-07-31 23:42:37 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2019-07-31 23:42:37 -0500 |
commit | 73f866c33baeddf60f6bff3121821a09b228a3e4 (patch) | |
tree | 05344f5125caf7a3cf9e10b6800f946d6d48dce8 | |
parent | e9dd248cfad8edc4c5db91641d29a4d163dcaa4d (diff) |
Complete definitions.
-rwxr-xr-x | lcd.c | 8 | ||||
-rwxr-xr-x | lcd.h | 8 |
2 files changed, 8 insertions, 8 deletions
@@ -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);
}
@@ -1,12 +1,12 @@ void Lcd_Port(char);
void Lcd_Cmd(char);
-void Lcd_Clear();
+void Lcd_Clear(void);
void Lcd_Set_Cursor(char, char);
-void Lcd_Init();
+void Lcd_Init(void);
void Lcd_Write_Char(char);
void Lcd_Write_String(char *);
-void Lcd_Shift_Right();
-void Lcd_Shift_Left();
+void Lcd_Shift_Right(void);
+void Lcd_Shift_Left(void);
// For some VFD's like Noritake
void Vfd_Set_Brightness(int);
\ No newline at end of file |