Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/09/02 16:04
Read: times


 
#21599 - RE: Using a Domino2
Yeah so far it is but I have to open up all these pins with Directional control registers. Port A and B as outputs then go through a loop to display each charater. Problem I am having is it won't make it past 1 on the I = 1 to 20 statement its returning a 1 with a Print I statement and a T on the display which is a whole hell of a lot better than what I was getting.

Here is the code with notes on what everything does

10 STRING 211,20
15 GOSUB 3000
20 B = 0 : X = 0 : I = 0 : Z = 0015H
30 $(0) = "Test for xxxx passed"
40 GOSUB 2000 : GOSUB 1000
50 FOR I=1 TO 20
60 X = ASC($(0),I)
70 GOSUB 90
80 NEXT I
90 PUSH 02032H, X: CALL 0F128H : POP C
100 GOSUB 1000
110 END
1000 PUSH 02058H,0001H : CALL 0F128H :POP C
1010 PUSH 02058H,0000H : CALL 0F128H : POP C
1020 PUSH 02058H,0001H : CALL 0F128H : POP C : RETURN
2000 PUSH 02032H,Z : CALL 0F128H : POP C : RETURN
3000 PUSH 02030H,0000H : CALL 0F128H : POP C
3010 PUSH 02033H,0000H : CALL 0F128H : POP C
3020 PUSH 02032H,00FEH : CALL 0F128H : POP C
3030 PUSH 02035H,00FEH : CALL 0F128H : POP C : RETURN
3040 PUSH 02032H,000FH : CALL 0F128H : POP C

Line 1000 to 3000 opens the directional controled registers for ports A and B on the Microcontroller, alos included in line 1000 - 3040 are statements that open Ports A and B as Outputs for the Display's 7 bits and the Write Strobe. Lastly somewhere in that code is a command to clear the display and make a cursor visible on the display. I will try putting the NEXT I just before the END statement.

P.S. If anyone knows of a Site just like this one but more in tuned to what I am looking for feel free to send me a hyper link so I can stop spamming your Message boards j/k.

List of 7 messages in thread
TopicAuthorDate
Using a Domino2            01/01/70 00:00      
RE: Using a Domino2            01/01/70 00:00      
RE: Using a Domino2            01/01/70 00:00      
RE: Using a Domino2            01/01/70 00:00      
RE: Using a Domino2            01/01/70 00:00      
RE: Using a Domino2            01/01/70 00:00      
RE: Using a Domino2            01/01/70 00:00      

Back to Subject List