diff options
| author | Damien <damien.p.george@gmail.com> | 2013-10-22 23:09:25 +0100 |
|---|---|---|
| committer | Damien <damien.p.george@gmail.com> | 2013-10-22 23:09:25 +0100 |
| commit | e9f1e50be49edc6d01ff006e0a1f5291672ec808 (patch) | |
| tree | a1ca33259f91b4941210ef68ae7db075b47c8437 /stm/lcd.c | |
| parent | ec63cce470f943003c728fde049919dedd5b6a44 (diff) | |
Board running boot.py, working REPL, soft reboot.
Diffstat (limited to 'stm/lcd.c')
| -rw-r--r-- | stm/lcd.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,3 +1,4 @@ +#include <string.h> #include <stm32f4xx_gpio.h> #include "misc.h" @@ -138,6 +139,10 @@ void lcd_init() { lcd_next_line = 0; } +void lcd_print_str(const char *str) { + lcd_print_strn(str, strlen(str)); +} + void lcd_print_strn(const char *str, unsigned int len) { int redraw_min = lcd_line * LCD_BUF_W + lcd_column; int redraw_max = redraw_min; |
