I tried it out but to no avail. Output RA4 still dun hav a high...
I tried it out but to no avail. Output RA4 still dun hav a high...
Sorry i made a mistake... Should be RB5 do not hav a high output...
Then, may I ask exactly where you put the line?
AND
Does it have a pull-down resistor to provide a low when the switch is not pressed?Just a manual switch at port B,0 that is providing a high ...
<br>
I did have a pull up resistor so that it is a low when the switch is not press.
I place the CLRF STATUS before GOTO main
Then you're left with Paul's other questions ...Along with ...Does your chip program without error?
What configs did you set?
Are you using a 6mhz crystal?
Is the oscillator config set to HS or H4? (16C745 doesn't have XT mode)
What size capacitors are on the crystal? (normally 22pf)
Is it a valid crystal, and is it actually oscillating?
Is there a pull-up resistor on MCLR?
Do you have 5V to VDD?
Are both VSS pins connected to ground?
Sorry for the basic questions but, it doesn't matter how good the program is, if the hardware isn't running.
<br>
DT
Sorry Guess noobie fault... I didn't pluck in the oscillator... Embarrased that i made this kind of stupid fault...
Bookmarks