Shop OBEX P1 Docs P2 Docs Learn Events
Regaining previous stored values after power f — Parallax Forums

Regaining previous stored values after power f

ArchiverArchiver Posts: 46,084
edited 2003-04-16 04:10 in General Discussion
Peter-

If you WRITE the value to your Stamp's EEPROM, it will still be there
when power is restored after a power failure. It may even still be
there after after re-programming your Stamp, depending on what DATA
statements you have, if any.

'Course, this will wear out your EEPROM if you do this a few million
times...

Regards,

Steve

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-04-16 04:10
    On Tue, 15 Apr 2003, S Parkis wrote:

    > Peter-
    >
    > If you WRITE the value to your Stamp's EEPROM, it will still be there
    > when power is restored after a power failure. It may even still be
    > there after after re-programming your Stamp, depending on what DATA
    > statements you have, if any.
    >
    > 'Course, this will wear out your EEPROM if you do this a few million
    > times...

    Destructive testing on a PIC16F84 yielded nearly 100 million rewrites - so
    with a few million I don't think you'll have any worries.

    Mos.

    --
    84 AE86, 90 ST185GrpA, 91 MX83Gr, Sydney, Oz.
Sign In or Register to comment.