diff options
-rwxr-xr-x | lcd.c | 6 | ||||
-rwxr-xr-x | lcd.h | 6 |
2 files changed, 8 insertions, 4 deletions
@@ -1,5 +1,4 @@ #include "lcd.h"
-#include "conf.h"
//LCD Functions Developed by electroSome
@@ -108,7 +107,7 @@ void Lcd_Shift_Left(void) { }
// For some VFD's like Noritake
-
+#ifdef VFD
void Vfd_Set_Brightness(int level) {
Lcd_Cmd(0x03);
__delay_ms(11);
@@ -116,4 +115,5 @@ void Vfd_Set_Brightness(int level) { /////////////////////////////////////////////////////
Lcd_Cmd(0x02);
Lcd_Write_Char(level);
-}
\ No newline at end of file +}
+#endif
\ No newline at end of file @@ -1,3 +1,5 @@ +#include "conf.h"
+
void Lcd_Port(char);
void Lcd_Cmd(char);
void Lcd_Clear(void);
@@ -9,4 +11,6 @@ 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 +#ifdef VFD
+void Vfd_Set_Brightness(int);
+#endif
\ No newline at end of file |