'' Adding ALARM
The program can be modified to produce an alarm when the count reaches "00."
The files for this are:’’
i really appreciate that you replied sir, but i already read and lookd into those files. it is from there i got the snippet. but the program they gave include a dice program and a random number program in it which is clearly not needed for me. can you please lead me with some spark about how to include it in my current program ?? the "counter reaching zero" part only.. i'm trying to stu dy programmin these days i'm doin a lill research of my own programmin and re_programmic the pic :razz::razz: but it doesn't seem to work out even if i'm gainin knwledge
Hi,
Before following that site and possibly wasting your time, you may want to read this and similar posts
http://www.electro-tech-online.com/members-lounge/104925-help-colin-mitchell-talkingelectronics-com.html
For a good free assembler course that is directly supported by author have a look at this well known site
http://www.winpicprog.co.uk/pic_tutorial.htm
Another good free tutorial for Assembler and C is here
**broken link removed**
that was confusing indeed, u threw a bit of lightHi,
For someone trying to learn I personally think that code is terrible with its addressing the system registers by their location rather than Name.
eg , btfss 03,2 is much easier as btfss STATUS,Z
Using the goto $+ can also be confusing, using labels is much clearer.
eg goto $+5 , goto step2
RA6 is set for I/O, internal osc is selected sir.RA6 is a multiple function pin, and if set for Digital I/O use it will sink or source 25ma, easily driving a standard led via a resistor , though for a relay is more usual to use a transistor to handle the extra current and voltage.
i didnt posted them, thought it could be read from the comments itself, the bits are posted here.The code you use does not have any Configuration instructions in the code, just a few comment lines at the top.
that was confusing indeed, u threw a bit of lightthankss
RA6 is set for I/O, internal osc is selected sir.
i didnt posted them, thought it could be read from the comments itself, the bits are posted here.
__Config _cp_off & _lvp_off & _pwrte_on & _wdt_off & _intRC_osc_noclkout & _mclre_off
sir can u help me about the very very low voltage on RA6 ? actually the intended output is now got after i programmed the pic with the program attached but getting very low voltage and current in the pin 15
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?