Yeah I discussed it was very basic technique to produce delay but it had inaccuracy. Timer0 is good way to produce to delay. Furthermore if you use timer 0 with interrupt then you can produce exact delay with high accuracy. In this same video series I have explained all these methods.
Assalamualaikum Sir, I have a doubt from the one of the PIC micro application notes. Very old one. "Automate the home" in this application assembly language is used. I could follow the code but the following lines no where I could find the answer. Could you explain why this is used. (May be I am bothering you Sir) The code is written like this: ; The ID words... ORG H'0200' ID0 Data.W H'0000' ID1 Data.W H'0000' ID2 Data.W H'0003' ID3 Data.W H'000F' ; and the Fuse bits... ORG H'0FFF' CONFIG Data.W MCLRDisabled + NoCodeProtect + WDTEnabled + IntRCOsc How to understand Data.W? This code is written for the controller PIC12C508. A old chip. But still the code is confusing to me. Probably you may be able to clear my doubt that has been troubling me all along. Thank you Sir, with respect.
Wailekum salam, Venkata, its old PIC12 code. Well, lines starting with Data.w is a kind of assembler directive which define preprocessor ID0 and so on for specific hex data. You can use these names as variables instead of this Data. A typical example of such a preprocessor in the latest PIC18 is EQU. Line starting with Config is a standard procedure for defining configuration registers' values necessary for hardware interfacing. I hope my answers can help you:)
Thank you sir very nice gide & very nice best information subroutine instruction teaching video.👍
You are welcome!
An amiable video, sir
Thank you : ) I am glad it was useful.
Ma sha Allah very nice presentation
Jazak ALLAH!! I am happy to know that my content is useful for people.
Assalamualaikum Sir,
SIr in the last of the delay loop This is not DecF C3, it is DecF C1
Wailekum Salam thanks for correction.:) I acknowledge your correction.
@@LearnOnline1 No problems Sir, You helped thoroughout the course, Highly Appreciated. Love FRom UET
sir but subroutine program delay is it take actual delay is 4.04s but question is 1s dealy
Yeah I discussed it was very basic technique to produce delay but it had inaccuracy. Timer0 is good way to produce to delay. Furthermore if you use timer 0 with interrupt then you can produce exact delay with high accuracy. In this same video series I have explained all these methods.
Assalamualaikum Sir, I have a doubt from the one of the PIC micro application notes. Very old one. "Automate the home" in this application assembly language is used. I could follow the code but the following lines no where I could find the answer. Could you explain why this is used. (May be I am bothering you Sir) The code is written like this:
; The ID words...
ORG H'0200'
ID0 Data.W H'0000'
ID1 Data.W H'0000'
ID2 Data.W H'0003'
ID3 Data.W H'000F'
; and the Fuse bits...
ORG H'0FFF'
CONFIG Data.W MCLRDisabled + NoCodeProtect + WDTEnabled + IntRCOsc
How to understand Data.W? This code is written for the controller PIC12C508. A old chip. But still the code is confusing to me. Probably you may be able to clear my doubt that has been troubling me all along. Thank you Sir, with respect.
Wailekum salam,
Venkata, its old PIC12 code. Well, lines starting with Data.w is a kind of assembler directive which define preprocessor ID0 and so on for specific hex data. You can use these names as variables instead of this Data. A typical example of such a preprocessor in the latest PIC18 is EQU.
Line starting with Config is a standard procedure for defining configuration registers' values necessary for hardware interfacing. I hope my answers can help you:)
Sir is the notes for this course are available??
I have put on some of my students to compile the data and soon we will try to upload them somewhere on web so that every body can access the stuff.
@@LearnOnline1 thqq sir..
@@smile._.sharma you are welcome