Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
hello,this is my coding for my fyp. i got the problems from this coding. i dun know whats the problems and how to fixed it. can anyone help me? all the advise i will be really2 appreciate it. thanks.
really?? i dun know..i got it from internet..can you tell me what's wrong with my coding?
where is the wrong code?
DISPLAY ORG 0000H
MOV PSW,#00H
MOV A,#00H
SETB C
MOV R3,#70H
MOV R4,#70H
X1: MOV P2,#01H ; P2 DISPLAY SELECT
MOV P0,#00H ; P0 SEGMENTS
ACALL DEL
MOV P0,#44H
ACALL DEL
MOV P2,#02H
MOV P0,#00H
ACALL DEL
MOV P0,#3DH
ACALL DEL
MOV P2,#04H
MOV P0,#00H
ACALL DEL
MOV P0,#7CH
ACALL DEL
MOV P2,#08H
MOV P0,#00H
ACALL DEL
MOV P0,#4EH
ACALL DEL
JNC X2
DJNZ R3,X3
here it is. i just searching for assembly code. i thought all the 7 segment LED display used the same code. so, it all my mistakes as a new programmer in assembly code. http://laynetworks.com/Assembly Program3.htm
i think you should try a basic code and read it before you can jump up toi have found it.but it is for 16F628. if there any difference between this PIC and 16F84A?
it can effect everythingoke. i will try to do the basic code. if i have problems i will get back here.
one more questions, if i use the 628 code for 7 segment LED counter for my coding if there any effect?
because for main coding i use the 84.
thanks for your kindness. you're very helpful.
well , im not too experienced at asmoke. this is my coding. can u check them. thanks..
INIT CLRF PORTA
CLRF PORTB
[COLOR="red"]BSF PAO[/COLOR]
MOVLW b'11111'
MOVWF TRISA
; MOVLW b'00000000'
; MOVWF TRISB
[COLOR="red"]BSF PAO[/COLOR]