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

    OK, Pic Basic Pro 2.6L will compile the project
    Version 2.60A gives these errors:
    Unknown Processor(18F26k22)
    Cannot open file (Include file "Pic18F26K22.inc" not found)
    Processor type is undefined


    Etc...
    Compiler Version 3.1.0.4 gives these errors
    Warning: Unable to open INCLUDE file DT INTS-18.BAS
    Warning: unable to open INCLUDE file REENTERPBP-18.BAS
    and a whole host of ASM errors associated


    Anyone have an idea of what to do now?

  2. #2
    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

  3. #3
    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.

  4. #4
    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.

  5. #5
    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

  6. #6
    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.

  7. #7
    Join Date
    May 2013
    Location
    australia
    Posts
    2,653


    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

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