Debug Syntax


Closed Thread
Results 1 to 2 of 2

Thread: Debug Syntax

  1. #1
    Join Date
    May 2006
    Posts
    36

    Default Debug Syntax

    Hello. I am trying to port code from a BASIC STAMP2P over to a PIC16F687 and I am having some problems. The code I have uses the Debug comment as listed below but I am having problems changing this to work with PBP. I have looked through the PBP manual and looked for examples of how to setup the syntax but I am not getting anywhere. Does anyone have advice or can provide me with a link to somewhere that will help me? I have looked on the MELABS page for the information from porting one to the other but I still have not found any good documentation.

    From my the BASIC STAMP2P program:
    DEBUG SDEC Occupant, CR

    What would the equivalent be for PBP?
    I have set up the defines beingDefine
    DEBUG_REG PORTB ' set debug pin port
    Define DEBUG_BIT 6 ' set debut pin bit
    Define DEBUG_BAUD 2400 ' debug baud rate
    DEFINE DEBUG_MODE 1:

  2. #2
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Occupant VAR BYTE
    CR CON 13

    DEBUG SDEC Occupant, CR
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

Similar Threads

  1. N-Bit_MATH
    By Darrel Taylor in forum Code Examples
    Replies: 38
    Last Post: - 16th December 2010, 14:48
  2. About USB
    By dias11 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 3rd December 2009, 20:41
  3. debug not working with MPASM assempler
    By santamaria in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 4th March 2009, 07:51
  4. Data EEPROM gets clobbered during programming
    By BrianT in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 18th July 2008, 02:46
  5. Debug and some 18F pics
    By sinoteq in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 21st June 2007, 15:10

Members who have read this thread : 1

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