PIC12F675 comms issues


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Feb 2005
    Posts
    67


    Did you find this post helpful? Yes | No

    Smile

    Thanks Mr E,
    ANSEL = 0 did the trick !
    One curious thing though,
    when I deleted the Transmit Defines, the program stopped working ?
    Can you shed any light on it.
    ' Debug (Communication) Defines (Transmit)
    ' ----------------------------------------
    DEFINE DEBUG_REG GPIO
    DEFINE DEBUG_BIT 1
    DEFINE DEBUG_BAUD 9600
    DEFINE DEBUG_MODE 1
    ' I remm'd out the above lines

    '
    '
    ' DEBUG (Communication) Defines (Receive)
    ' ----------------------------------------
    DEFINE DEBUGIN_REG GPIO
    DEFINE DEBUGIN_BIT 2
    DEFINE DEBUGIN_BAUD 9600
    DEFINE DEBUGIN_MODE 1
    Pete

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Peter1960 View Post
    Thanks Mr E,
    ANSEL = 0 did the trick !
    One curious thing though,
    when I deleted the Transmit Defines, the program stopped working ?
    Can you shed any light on it.
    ' Debug (Communication) Defines (Transmit)
    ' ----------------------------------------
    DEFINE DEBUG_REG GPIO
    DEFINE DEBUG_BIT 1
    DEFINE DEBUG_BAUD 9600
    DEFINE DEBUG_MODE 1
    ' I remm'd out the above lines

    '
    '
    ' DEBUG (Communication) Defines (Receive)
    ' ----------------------------------------
    DEFINE DEBUGIN_REG GPIO
    DEFINE DEBUGIN_BIT 2
    DEFINE DEBUGIN_BAUD 9600
    DEFINE DEBUGIN_MODE 1
    'cause the DEFINES are what makes the comm's work in the first place!

Similar Threads

  1. PIC12F675 problem with port 5
    By NL2TTL in forum mel PIC BASIC
    Replies: 2
    Last Post: - 5th June 2009, 02:23
  2. SERIN with a PIC12F675
    By ewandeur in forum Serial
    Replies: 4
    Last Post: - 30th July 2007, 16:04
  3. Remote comms
    By thirsty in forum Serial
    Replies: 1
    Last Post: - 23rd June 2006, 16:42
  4. PIC12F675 trouble
    By russman613 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 27th February 2006, 19:40
  5. Erratic PIC12F675 behavior
    By russman613 in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 27th February 2006, 15:46

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