Pic Basic pro code Compiling help!


Closed Thread
Results 1 to 4 of 4

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default Re: Pic Basic pro code Compiling help!

    Hi and welcome to the forum!

    The PIC12F675 only has 1k so it'll be impossible to fit a 4k program. However, it's not the size of the source file (ie the "text file" containing the program) that matters, it's the size of the compiled .hex file that you actually program into the PIC. I can't think that piece of code would result in more than 1k, not to mention 2k which you say is the limit of the free version (which version is that?).

    Finally, IF l=600000 won't work because l is declared as a WORD (ie 16bits) so it can only hold values between 0 and 65535 and there's a missing THEN on the same line.

    /Henrik.

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: Pic Basic pro code Compiling help!

    Hello and Thank you, I looked again after you told me that info and It appears as though I have exceeded the maximum number of code lines allowed using the PicBasic Demonstration Compiler so that is the revised issue. -thx

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


    Did you find this post helpful? Yes | No

    Default Re: Pic Basic pro code Compiling help!

    You can download PBP3.06 from MELABS site, install it and use it in trial mode for 15 days.

    /Henrik.

Similar Threads

  1. Replies: 17
    Last Post: - 15th March 2013, 23:11
  2. Replies: 8
    Last Post: - 18th January 2013, 23:21
  3. [HELP] PIC code for RDS Decoder TDA7330B
    By juanen19 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 23rd November 2012, 20:08
  4. Which pic? up to date basic chip for 16f877
    By tasmod in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 19th November 2012, 11:26
  5. Compiling and code oddities
    By tasmod in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 17th November 2012, 10:50

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