DT_Ints w/18F26K22 stop if incorrect baud rate


Closed Thread
Results 1 to 22 of 22

Hybrid View

  1. #1
    Join Date
    Jul 2009
    Location
    Ohio, USA
    Posts
    57


    Did you find this post helpful? Yes | No

    Default Re: DT_Ints w/18F26K22 stop if incorrect baud rate

    I found that you need to point the Include to the location like,
    INCLUDE "C:\PBP\DT_INTS-18.bas"


    Mike

  2. #2
    Join Date
    Apr 2014
    Location
    OK
    Posts
    557


    Did you find this post helpful? Yes | No

    Default Re: DT_Ints w/18F26K22 stop if incorrect baud rate

    Quote Originally Posted by Mike2545 View Post
    I found that you need to point the Include to the location like,
    INCLUDE "C:\PBP\DT_INTS-18.bas"


    Mike
    And to think I have like over 100 copies of DT_INTS[-18] because I made sure there was one in each folder I saved code in! That was worth the time spent reading this whole thing right there. Thanks Mike.

  3. #3
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: DT_Ints w/18F26K22 stop if incorrect baud rate

    If the file is in the PBP folder there's no need to specify the path. If no path is specified the compiler looks for the file in the source file folder, and then in the PBP folder.

    /Henrik.

  4. #4
    Join Date
    Jul 2009
    Location
    Ohio, USA
    Posts
    57


    Did you find this post helpful? Yes | No

    Default Re: DT_Ints w/18F26K22 stop if incorrect baud rate

    Henrik, apparently Pic Basic Pro 3 does not do that you need to specify the folder.

    Mike

  5. #5
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: DT_Ints w/18F26K22 stop if incorrect baud rate

    Mine works exactly as I describe, just tested it again....
    Place the file to be included either in source folder or in the root of the PBP3 folder and then doing INCLUDE "ThisOrThat.pbp" works just fine.

    If the file exists in BOTH locations it uses the one in the source file folder so that's where it looks first - as expected.

    /Henrik.

  6. #6
    Join Date
    May 2013
    Location
    australia
    Posts
    2,644


    Did you find this post helpful? Yes | No

    Default Re: DT_Ints w/18F26K22 stop if incorrect baud rate

    Place the file to be included either in source folder or in the root of the PBP3 folder and then doing INCLUDE "ThisOrThat.pbp" works just fine.

    If the file exists in BOTH locations it uses the one in the source file folder so that's where it looks first - as expected.
    ditto

    same for pbpmod files for user_commands
    Warning I'm not a teacher

  7. #7
    Join Date
    Jul 2009
    Location
    Ohio, USA
    Posts
    57


    Did you find this post helpful? Yes | No

    Default Re: DT_Ints w/18F26K22 stop if incorrect baud rate

    I don't know why mine needs the path specified but it does. The DT_INTS-18 is in the PBP folder but I need to tell it INCLUDE "C:\PBP\DT_INTS-18.bas" for the file to be found.


    Mike

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