![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
LCD1602 com o minimo de arquivos necessarios
Diff: LCD_1602.h
- Revision:
- 0:12860941a8a1
diff -r 000000000000 -r 12860941a8a1 LCD_1602.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/LCD_1602.h Thu Nov 26 18:11:13 2020 +0000 @@ -0,0 +1,19 @@ +#include "mbed.h" +#ifndef LCD_1602_H +#define LCD_1602_H + +void lcd_init (void); // initialize lcd + +void lcd_send_cmd (char cmd); // send command to the lcd + +void lcd_send_char (char data); // send data to the lcd + +void lcd_send_string (char *str); // send string to the lcd + +void lcd_put_cur(int row, int col); // put cursor at the entered position row (0 or 1), col (0-15); + +void lcd_clear (void); + +void lcd_cursor_mode(char cursor, char blink); + +#endif