constants


Results 1 to 6 of 6

Thread: constants

Threaded View

  1. #6
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by cmolson
    As all these variables will quickly eat up my ram space
    Why not using the internal eeprom instead?

    Code:
    ArrayIndex var byte
    ArrayData var byte
    
        ' PreLoad EEPROM at programming time
        ' ===================================
        '
    data @0,$10,$20,$30,$40,$50
        '
        '
        ' Read data from EEPROM
        ' =====================
        '
    Read ArrayIndex,ArrayData
    Usually that's what i do instead of using Array... well if the PIC have EEPROM and/or free EEPROM storage.

    Good luck!
    Last edited by mister_e; - 1st December 2005 at 13:35.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. The EXT (external) modifier.
    By Darrel Taylor in forum FAQ - Frequently Asked Questions
    Replies: 19
    Last Post: - 11th July 2010, 00:21
  2. How to define constants that specify eeprom addresses
    By DwayneR in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 8th December 2009, 04:07
  3. Problem with 16F648A
    By ngeronikolos in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 6th March 2008, 23:08
  4. PORTC constants
    By Forkosh in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th October 2007, 05:43
  5. Bug ? Error in calculating constants
    By BigWumpus in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 11th October 2005, 21:55

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