Need help for PIC16C745


Results 1 to 17 of 17

Threaded View

  1. #8
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Default

    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
    __________________

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts