aboutsummaryrefslogtreecommitdiff
path: root/driver_fw/lcd1602.h
diff options
context:
space:
mode:
Diffstat (limited to 'driver_fw/lcd1602.h')
-rw-r--r--driver_fw/lcd1602.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/driver_fw/lcd1602.h b/driver_fw/lcd1602.h
index 70b324e..4cb2758 100644
--- a/driver_fw/lcd1602.h
+++ b/driver_fw/lcd1602.h
@@ -32,6 +32,9 @@
#define LCD_I2C_PERIPH I2C1
#define LCD_I2C_ADDR 0x4e
+/* 16 spaces you can concatenate to printf formats to make sure the entire LCD line is always cleared */
+#define LCD_FILL " "" "" "" "
+
void lcd1602_init(); // Инициализация дисплея
void lcd_write_str(uint8_t in_u8X, uint8_t in_u8Y, char* in_cChar); // Отправить строку на экран с указанием позиции
void lcd_send_char(char in_cChar); // Отправить символ на экран