Trying to inch my way to the finish line w/ a 16F1829.........


Closed Thread
Results 1 to 40 of 68

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default Re: Trying to inch my way to the finish line w/ a 16F1829.........

    YAY! No more timer, no more dropped letters, menus are beautiful again!

    Yes the gearboxes hold the dish VERY securely. Plus, even if some wind or vibration caused some pulses, the MC will ignore them. Remember, the interrupt will fire no matter what, but unless the MC has an output high, to move the dish, it won't count them anywhere. It'll skip by all the if-then's and continue like nothing happened.

    I put a button and led on INT pin and a LED on a spare pin then turned it on.
    then I added:

    LED = 0
    pause 500
    LED = 1

    to the beginning of the interrupt handler. push push, blink blink, but no blackout from the response pin. So interrupt is not working.

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,615


    Did you find this post helpful? Yes | No

    Default Re: Trying to inch my way to the finish line w/ a 16F1829.........

    Hi,

    YAY! No more timer, no more dropped letters, menus are beautiful again!
    Ah, progress!


    Yes the gearboxes hold the dish VERY securely. Plus, even if some wind or vibration caused some pulses, the MC will ignore them. Remember, the interrupt will fire no matter what, but unless the MC has an output high, to move the dish, it won't count them anywhere. It'll skip by all the if-then's and continue like nothing happened.
    Yes, I understand that. I was more thinking of the vibration caused WHILE the dish IS being moved but again, it's probably not an issue.



    I put a button and led on INT pin and a LED on a spare pin then turned it on.
    then I added:

    LED = 0
    pause 500
    LED = 1
    First make sure you have control over that LED pin that you use in the ISR, blink the LED a couple of times at the start of the program just to make sure. Also, try removing the line where you manually set INTCON. A) You have several interrupt sources enabled that you don't actually use and B) DT-Ints handles setting INTCON for you.

    /Henrik.

  3. #3


    Did you find this post helpful? Yes | No

    Default Re: Trying to inch my way to the finish line w/ a 16F1829.........

    Ok, I put a double blink on the Main Menu under the Acquire label since I'm not using it yet. So anytime, I can hit 3 on the main menu and led blinks off twice. No interrupt still. removed intcon

Similar Threads

  1. Replies: 2
    Last Post: - 31st May 2013, 18:19
  2. line truncate...again
    By queenidog in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 12th March 2012, 21:58
  3. Most Users Ever On-Line
    By skimask in forum Off Topic
    Replies: 1
    Last Post: - 26th April 2007, 19:06
  4. 2 Line Chars on a 2 Line LCD
    By Squibcakes in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 16th November 2003, 00:44

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