Get a 62.5% more program space easily


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    964


    Did you find this post helpful? Yes | No

    Default Retrieving text - any example

    Hello Seandre,

    Any example on how you retrieve the code please?
    Roger

  2. #2
    Join Date
    Jan 2007
    Posts
    24


    Did you find this post helpful? Yes | No

    Default

    Better still, why not code your words as TOKENS??

    Store all the words you are likely to use in a table in the EEPROM in the PIC, then reference them using numbers;

    Example;

    PRESS, ANY, BUTTON, DOWN, THE

    PRESS THE DOWN BUTTON becomes 1,5,4,3 you can delineate the words with a number say 27 as you will only ever use characters 1-26 anyhow, when the exctract routine sees a "27" it knows that is the end of the word.

    Hope this helps.

Similar Threads

  1. Presetting Configuration Fuses (PIC Defines) into your Program
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 82
    Last Post: - 15th December 2013, 10:54
  2. Replies: 1
    Last Post: - 23rd May 2009, 10:22
  3. How much code space do PBP statements use.
    By Darrel Taylor in forum Code Examples
    Replies: 5
    Last Post: - 13th February 2009, 22:31
  4. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 09:26
  5. PIC16F684 Program question
    By Nicholas in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 28th December 2006, 15: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