Need help with write function


Results 1 to 11 of 11

Threaded View

  1. #5
    Join Date
    May 2004
    Location
    New England
    Posts
    164


    Did you find this post helpful? Yes | No

    Default

    Hi Chris,
    Maybe one of the pros will add some more answers, but for now...

    if for example I just say "flash var byte," does the PIC automatically recognize flash as a zero?
    PBP does not initialize RAM variables to any value, and on power up the RAM variables will contain an unknown value. You can use the CLEAR command to clear all RAM variables to 0, or just set each variable to 0 manually: flash=0

    After any power up, you'll need to READ your saved settings from EEPROM to restore your user selections.

    Keep in mind the EEPROM has a limited number of write/erase cycles (check data sheet for details).

    Arch
    Last edited by Archilochus; - 2nd June 2006 at 23:21.

Similar Threads

  1. WRITE: One more PBP 2.60 Surprise ...
    By Acetronics2 in forum mel PIC BASIC Pro
    Replies: 22
    Last Post: - 26th August 2009, 09:10
  2. Replies: 5
    Last Post: - 29th May 2008, 18:03
  3. Need the code to write to a memory
    By Hamlet in forum General
    Replies: 0
    Last Post: - 20th August 2007, 00:22
  4. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  5. Storing Strings using the Write command
    By BobP in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 1st November 2005, 11:31

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