Trying to resolving 6 Compiler Errors


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Mar 2011
    Location
    Los Angeles, California
    Posts
    322


    Did you find this post helpful? Yes | No

    Default Re: Trying to resolving 6 Compiler Errors

    Thanks Joe and you are right I just did not know what to choose. For some reason my cut and paste did not include this part:

    Include "Modedefs.bas"

    '********************* Declaired Pins **************************
    Clk var PortD.2
    Dout VAR PortD.3
    Din var PortD.0
    Sclk var PortC.3
    Mclk var PortC.1

    I do not believe the other subroutines are necessary as the hope is to have this run continuously. I have never done an array so I have no idea exactly how this is written. I will certainly look at the subs and returns and just trying to take this one step at a time.

    Best, Ed

  2. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Re: Trying to resolving 6 Compiler Errors

    Here is a thread I started for array newbies, especially read the posts which ARE NOT mine.
    http://www.picbasic.co.uk/forum/showthread.php?t=8876

    The example in this thread was written prior to PBP ver2.6 and as such the word Loop must be changed to something like MainLoop
    or MyLoop as Loop is now a reserved word associated to DO.
    Last edited by Archangel; - 10th April 2011 at 04:19.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  3. #3
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default Re: Trying to resolving 6 Compiler Errors

    Hi,

    The funniest thing in this thread ...

    is to try to use READ and WRITE whith a pic that has NO EEPROM ...



    From what I've found to get " success 4304 bytes used " AND perfectly knowing it even can't run in real life ...

    I gently suggest you to check your project from A to Z before coming back here ...

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  4. #4
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Re: Trying to resolving 6 Compiler Errors

    Quote Originally Posted by Acetronics View Post
    Hi,

    The funniest thing in this thread ...

    is to try to use READ and WRITE with a pic that has NO EEPROM ...


    Alain
    Details, Details, Details . . . Joe says with a sheepish grin . . . I wasn't paying such close attention . . .
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

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