internal storage space?


Closed Thread
Results 1 to 2 of 2
  1. #1

    Default internal storage space?

    My question is this.
    Lets say I have a simple array called CP that has 20 spots such as CP(20). Each of these spots are defined by either a 1 or 0 such as this <1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,1,1,1,1,0>.

    So my question finally is this. How much space does this vector take in eepromm and how many of these vectors could I fit in a 16F877a.

    Thanks
    Curt

  2. #2
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    At most, you could shove 102 20 bit numbers into the 256 byte eeprom. But.. they would be overlapping, and be pretty difficult to manage at best. Any way to go down to 16 bits instead of 20? That would make it a lot easier to deal with. Then you could fit 128 of them in there, without overlapping. You would know where they started and where they ended without a lot of extra code.
    Last edited by ScaleRobotics; - 27th October 2009 at 06:52.
    http://www.scalerobotics.com

Similar Threads

  1. How much code space do PBP statements use.
    By Darrel Taylor in forum Code Examples
    Replies: 5
    Last Post: - 13th February 2009, 21:31
  2. 12F683 internal pull up
    By hvacrtech in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 27th July 2008, 02:35
  3. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  4. Use internal program memory like DATA memory
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 30th December 2006, 18:38
  5. PIC12F675, accuracy of baud rate with Internal Oscillator
    By Chris Mayhew in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 31st August 2005, 22:41

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