Weird issue with Lab X1


Results 1 to 29 of 29

Threaded View

  1. #11
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,172


    Did you find this post helpful? Yes | No

    Default

    I found these:

    E:\Mecanique\MCSP\MPASM\P16f877.inc

    E:\Pic BASIC Pro 2.46\16F877.INC

    E:\Pic BASIC Pro 2.46\M16F87X.INC <---- I would think I want to include this one.


    So I tried this:


    ASM
    LIST
    include 'M16F87x.INC' ; PM header
    device pic16F877, xt_osc, wdt_on, pwrt_on, lvp_off, protect_off
    XALL
    NOLIST
    ENDASM


    And I get an error it cannot open file, include 'M16F87x.INC' not found.

    In MicroCode Studio Plus, under tabs VIEW, EDITOR OPTIONS, the Default Source Folder points here:
    E:\Pic BASIC Pro 2.46

    I would have thought it would pick up the file that way.


    EDIT: So I copied M16F87X.INC where I have my PIC program source, usually compilers look in their source folder first, but it can't find it anyways. It looks like it wants to find INCLUDE files somewhere specific, I just don't see any way to tell MCSP.
    Last edited by Demon; - 12th March 2010 at 02:08.
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

Similar Threads

  1. Making the Lab X1 communicate with the Lab X2
    By MatthewM in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 19th June 2008, 22:26
  2. Newbie with LAB X1 timming problem
    By schlaray in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 7th November 2006, 00:30
  3. Weird compile issue 7 segment LED display
    By George in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 21st June 2006, 02:12
  4. 18F1320 ... Strange Memory
    By Acetronics2 in forum mel PIC BASIC Pro
    Replies: 43
    Last Post: - 9th April 2006, 09:55
  5. code conversion
    By saturnX in forum mel PIC BASIC
    Replies: 19
    Last Post: - 3rd October 2005, 17:17

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