Hoi,
Ik wat aan het prutsen met een PIC 16F628 en een 16x2 lcd.
Dit lcd werkt goed op de lpt poort en nu wou ik hem op mijn Pic aansluiten als eerste project
.
Na de search te hebben gebruikt kwam ik achter dit:
http://members.home.nl/as...o/lichtbak_door_Atmoz.jpg schema van atmoz waar ik alleen het rechter gedeelte van hoefde te maken.
Voor de software gebruikte ik dit:
En dit heb ik er ingeprogt met de simpele progger van Circuits online wat goedgaat
.
Daarna zet ik er stroom op en er gebeurt................ NIKS
.
Kunnen jullie me helpen?
Ik wat aan het prutsen met een PIC 16F628 en een 16x2 lcd.
Dit lcd werkt goed op de lpt poort en nu wou ik hem op mijn Pic aansluiten als eerste project
Na de search te hebben gebruikt kwam ik achter dit:
http://members.home.nl/as...o/lichtbak_door_Atmoz.jpg schema van atmoz waar ik alleen het rechter gedeelte van hoefde te maken.
Voor de software gebruikte ik dit:
code:
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
| include 16f628_4 include jlib include hd447804 hd44780_instruction(0x28) -- Two line mode, 4-bit control delay_10uS(16) forever loop hd44780_clear hd44780_line1 hd44780 = "A" delay_100ms hd44780 = "t" delay_100ms hd44780 = "m" delay_100ms hd44780 = "o" delay_100ms hd44780 = "z" delay_100ms hd44780 = "!" delay_100ms hd44780 = "!" delay_100ms hd44780 = "!" hd44780 = " " delay_500ms hd44780 = "j" delay_100ms hd44780 = "a" delay_100ms hd44780 = "w" delay_100ms hd44780 = "e" delay_100ms hd44780 = "l" delay_100ms hd44780 = "1" delay_100ms hd44780 = "2" delay_100ms hd44780 = "3" delay_100ms hd44780 = "4" delay_100ms hd44780 = "5" delay_100ms hd44780 = "6" delay_100ms hd44780 = "A" delay_100ms hd44780 = "t" delay_100ms hd44780 = "m" delay_100ms hd44780 = "o" delay_100ms hd44780 = "z" delay_100ms hd44780 = "!" delay_100ms hd44780 = "!" delay_100ms hd44780 = "!" hd44780 = " " delay_500ms hd44780 = "j" delay_100ms hd44780 = "a" delay_100ms hd44780 = "w" delay_100ms hd44780 = "e" delay_100ms hd44780 = "l" delay_100ms hd44780 = "1" delay_100ms hd44780 = "2" delay_100ms hd44780 = "3" delay_100ms hd44780 = "4" delay_100ms hd44780 = "5" delay_100ms hd44780 = "6" delay_100ms delay_2s hd44780_line2 hd44780 = "1" hd44780 = "2" hd44780 = "3" hd44780 = "4" hd44780 = "5" hd44780 = "6" hd44780 = "7" hd44780 = "8" hd44780 = "9" hd44780 = "0" hd44780 = "9" hd44780 = "8" hd44780 = "7" hd44780 = "6" hd44780 = "5" hd44780 = "4" hd44780 = "3" hd44780 = "2" hd44780 = "1" hd44780 = "0" hd44780 = "0" hd44780 = "1" hd44780 = "2" hd44780 = "3" hd44780 = "4" hd44780 = "5" hd44780 = "6" hd44780 = "7" hd44780 = "8" hd44780 = "9" hd44780 = "0" hd44780 = "9" hd44780 = "8" hd44780 = "7" hd44780 = "6" hd44780 = "5" hd44780 = "4" hd44780 = "3" hd44780 = "2" hd44780 = "1" delay_2s end loop |
En dit heb ik er ingeprogt met de simpele progger van Circuits online wat goedgaat
Daarna zet ik er stroom op en er gebeurt................ NIKS
Kunnen jullie me helpen?