You did not answer
Did the LED light up in your blink test?
Is your 745 windowed or are you burning new PICs each time?
On the diode, which end (anode or cathode) is connect to 5V?
Do you have an Oscilloscope? [EDIT] I have never used a four pin Xtal so I cannot comment on its correctness. If you have a scope, it would be easy to find out.[/EDIT]
you say "btfsc PORTB,2 ; Has key been press? (Normally high, goes low when pressed.)"
but you described the opposite - normally low and high when pressed. If it truly is opposite your program flies past this routine and then off into the ether. You would never see the light blink at 24MHz clock speed. You need to have a way to either send the program back to top (e.g., goto START) or a way to stop the controller from running away (e.g., goto $)
I beg you to make your LED blink first ... the rest is trivial after that.
Last edited by paul borgmeier; - 13th September 2007 at 09:11.
Reason: Add Xtal comment
Paul Borgmeier
Salt Lake City, UT
USA
__________________
Bookmarks