changed interface a bit

This commit is contained in:
Lucas Pleß 2012-10-05 00:04:41 +02:00
parent 69f943b7d7
commit 5b2bbc1789
1 changed files with 4 additions and 2 deletions

6
main.c
View File

@ -58,10 +58,12 @@ int main(void) {
if (uart_available() > 0) { if (uart_available() > 0) {
c = uart_getc(); c = uart_getc();
if (c == '*') { if (c == '}') {
lcd_clear(); lcd_clear();
} else if (c == '+') { } else if (c == '*') {
lcd_setcursor(0, 2); lcd_setcursor(0, 2);
} else if (c == '+') {
lcd_setcursor(0, 1);
} else if (c == '\'') { } else if (c == '\'') {
led_off(); led_off();
} else if (c == '#') { } else if (c == '#') {