Gast
#238733
Ich will ein GLCD 128x64 mit dem Controller KS0108 anschließen. Ich benutze den Source von http://www.apetech.de. Wo ich mein Problem habe ist die Pinbelegung. In der ks0108.h finde ich folgendes:
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | |
21 | |
22 | |
23 | |
24 | |
25 | |
26 | |
DataPort ist ja klar geht von portc.0 bis portc.7 aber wie sind die Commands Belegt? Porta.0 == D_I Porta.1 == R_W Porta.2 == EN Porta.3 == CSEL1 Porta.4 == CSEL2 Ist das richtig? Warum ist aber z.B. CSEL1 0x03 und nicht 3 ??