writing 256 bytes to eeprom


Closed Thread
Results 1 to 16 of 16

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by skimask View Post
    ...then I got to wondering what they cost.
    $40USD at Digikey! No thanks!
    ...
    How can you put a price on <b>COOL</b> ? Especially for a one off Car project . . . Just imagine your GEO with all those cool . . .
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Joe S. View Post
    How can you put a price on <b>COOL</b> ? Especially for a one off Car project . . . Just imagine your GEO with all those cool . . .
    Right again...(not a GEO, just an old Chevy Sprint)

    Cool Points > USD

  3. #3
    Join Date
    Nov 2008
    Posts
    41


    Did you find this post helpful? Yes | No

    Default

    Yeah the $40 price probably keeps most hobbyists away from those displays. They really are about the size of a key on your keyboard.

    This project is at the prototype stage now so changing pics is no problem. I'll order a few 18F2620 and start looking at the datasheet.

    The '4620 has ~3900-ish bytes of ram. You should be able to double-buffer one screen in the ram easily, modify it there, then shift the whole thing out in one shot, if that's the way you want to go.
    What command would write the screen into ram, writecode? The digits to be displayed are arrays of bytes? When an update is needed, the corresponding array of byte(s) is written to the specified ram location? I have an understanding of what needs done, now just putting it into code

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by astouffer View Post
    Yeah the $40 price probably keeps most hobbyists away from those displays.
    $40 doesn't keep this hobbyist away from anything...just don't have a use for them at the moment...Wait a minute! Since when did I have to have a use for something to buy something!!!

    What command would write the screen into ram, writecode?
    First thing you have to do is quit thinking about the on chip ram as some sort of special place to put data. Every variable you make is stored in on chip ram, every array, every byte, every x var byte : x = 10 x is ram, ram is x.
    If you have an 18F2620 and you:
    temp var byte[1023]
    You have just allocated 1024 bytes of on chip to be declared as an array by the name of temp to be accessed with a statement such as temp[586] = 56.

  5. #5
    Join Date
    Nov 2008
    Posts
    41


    Did you find this post helpful? Yes | No

    Default

    First thing you have to do is quit thinking about the on chip ram as some sort of special place to put data. Every variable you make is stored in on chip ram, every array, every byte, every x var byte : x = 10 x is ram, ram is x.
    If you have an 18F2620 and you:
    temp var byte[1023]
    You have just allocated 1024 bytes of on chip to be declared as an array by the name of temp to be accessed with a statement such as temp[586] = 56.
    Ah things are becoming less foggy now. As you might have guessed I'm new to programming in general. Thanks for being patient

Similar Threads

  1. Can't read sequential addresses in external EEPROM
    By tjkelly in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th February 2010, 14:46
  2. Writing & Reading to iButton EEPROM
    By crhomberg in forum Code Examples
    Replies: 2
    Last Post: - 6th October 2008, 19:40
  3. How to write/read strings EEPROM/LCD
    By g-hoot in forum mel PIC BASIC Pro
    Replies: 22
    Last Post: - 11th February 2007, 06:26
  4. I2CWRITE writing Strings to EEPROM
    By NavMicroSystems in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 27th March 2005, 19:45
  5. word variable to 25lc640
    By TONIGALEA in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 6th July 2004, 19:59

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