Message String Table using Readcode


Closed Thread
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    Michael,

    apart from the fact that you have missed to declare ascii VAR BYTE

    it works just fine on my 18F's

    That way I can probably get rid of an external EEPROM I was using for message strings.
    (presuming there is codespace left to store the strings)

    MANY THANKS!

    I'll do some further testing and let you know the results.
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



  2. #2
    mytekcontrols's Avatar
    mytekcontrols Guest


    Did you find this post helpful? Yes | No

    Wink Oppps!

    Thanks Ralph,
    apart from the fact that you have missed to declare ascii VAR BYTE
    I fixed it.

    That way I can probably get rid of an external EEPROM I was using for message strings.
    (presuming there is codespace left to store the strings)
    Depending on how you were doing this before, you might see a tremendous savings (especially true if you were using PBP's Table Lookup function).

    I certainly can't take all the credit for the idea, since much of this was made possible by looking at other people's code examples. However I do think my approach is possibly unique, since I have been looking, and looking for a solution like this for quite some time now, and never found anything exactly like it. I would be curious to know what other PICs this will work on, since all I use now-a-days are the 18F series, and have no easy way to confirm this.

Similar Threads

  1. How about String Variables?
    By mytekcontrols in forum PBP Wish List
    Replies: 40
    Last Post: - 20th January 2015, 13:53
  2. Lookup Table
    By yasser hassani in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 11th March 2008, 11:38
  3. Embedded Strings in your Code Space
    By mytekcontrols in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 9th March 2008, 08:50
  4. Visual Basic 6 & Access 2000
    By Demon in forum Off Topic
    Replies: 33
    Last Post: - 7th September 2006, 05:39
  5. PIC 18F452 Table Pointer/ Table Read
    By sougata in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 14th March 2006, 04:07

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