PBP bad expression


Closed Thread
Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Put any variables or aliases used in the include file, before the INCLUDE statement.
    Code:
    '-------------------- uM-FPU pin definitions ----------------------------------
    FpuClk          var     PORTC.3			' SPI SCLK (uM-FPU SCLK)
    FpuIn           var     PORTC.4			' SPI MISO (uM-FPU SOUT)
    FpuOut          var     PORTC.5			' SPI MOSI (uM-FPU SIN)
    
    '-------------------- INCLUDE files --------------------------------------------
    Include "modedefs.bas"      'Include for serial communication
    include     "umfpuV3-spi.bas"           ' include uM-FPU V3.1 support routines
    include "fp1832.bas"        'Floating point math
    DT

  2. #2
    Join Date
    Oct 2009
    Posts
    11


    Did you find this post helpful? Yes | No

    Default OMG you are amazing.

    I'm noticeably balder after that experience, and all for something so simple.

    Thanks Darrel. I love you.

  3. #3
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by MyBuddy View Post
    I'm noticeably balder after that experience ...
    It happens ...
    Start the Rogaine now.

    One of our other users waited too long.



    __________________
    DT

Similar Threads

  1. PBP Book
    By Bruce in forum Off Topic
    Replies: 83
    Last Post: - 4th October 2021, 13:55
  2. Extensions to PBP variables
    By John_Mac in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 23rd October 2009, 06:21
  3. bad expression error, linking addresses incorrectly.
    By robertpeach in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 26th August 2009, 14:04
  4. Compiler differences between PBP 2.33 & 2.46
    By nikopolis in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 2nd May 2006, 20:01
  5. Newby- PBP wont compile for 18F (MPLAB)
    By jd76duke in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 18th December 2005, 00:30

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