Must reset PIC to get correct operation?


Results 1 to 6 of 6

Threaded View

  1. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    How about if you disable the watchdog timer?

    I know PBP add some CLRWDT instruction here and there but, i guess it worth a try. Unless you use a WDT interrupt, i guess you simply don't need it.

    Just a suggestion
    Code:
    if PORTA.5=0 THEN
    B1=0
    ELSE
    B1=1
    ENDIF
    you'll save codespace and increase your program speed if you use
    Code:
    B1=PORTA.5
    Maybe the HS mode can do something... maybe for some crystal brand and not on some other.
    Last edited by mister_e; - 29th May 2006 at 15:47.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. SMS via pic
    By kenandere in forum GSM
    Replies: 15
    Last Post: - 10th March 2010, 11:00
  2. Automatic VB6 to pic serial connection
    By arniepj in forum Code Examples
    Replies: 13
    Last Post: - 10th January 2008, 08:57
  3. Replies: 14
    Last Post: - 26th September 2007, 06:41
  4. USART Problem , but don't know where, in pc? or in PIC?
    By precision in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 15th July 2007, 09:12
  5. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 12th March 2005, 00:14

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