Rev 2299 | Rev 2301 | ||
---|---|---|---|
Line 9... | Line 9... | ||
9 | //PIN_D2 PB5 |
9 | //PIN_D2 PB5 |
10 | //PIN_D3 PB3 |
10 | //PIN_D3 PB3 |
11 | //PIN_E PB1 |
11 | //PIN_E PB1 |
12 | //PIN_RS PB2 |
12 | //PIN_RS PB2 |
13 | |
13 | |
- | 14 | |
|
- | 15 | //pri spravne funkci se na LCD zobrazi na prvem a druhem radku LCD je OK |
|
- | 16 | //je dulezite spravne propojit modulu, napajet je a mit spravne nastaveny konstrast (pro zacatek potenciometr do prostred drahy) |
|
- | 17 | |
|
14 | #include <avr/io.h> |
18 | #include <avr/io.h> |
15 | #include <stdio.h> |
19 | #include <stdio.h> |
16 | #include <avr/iom8.h> |
20 | #include <avr/iom8.h> |
17 | #include "lcd.h" |
21 | #include "lcd.h" |
18 | #include "lcd.c" |
22 | #include "lcd.c" |