Shop OBEX P1 Docs P2 Docs Learn Events
RTC question — Parallax Forums

RTC question

computer guycomputer guy Posts: 1,113
edited 2010-01-26 09:55 in Propeller 1
Hi there,

I'm using the RTC that Parallax sells and I was wondering if it was possible to damage the chip by checking the time more than once a second?

I have a
repeat



loop that does a lot (main loop) and in that I need to update the time, but also detect a button push. With a one second waitcnt() statement I have to hold down the button.
I really don't want to have to consume a second cog.


Thank you smile.gif

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"powered by Propeller" domed stickers $1.50 - Find them here
Check out my Design and Technology project for my Higher School Certificate www.ecosureblog.net

Comments

  • BradCBradC Posts: 2,601
    edited 2010-01-26 09:52
    No, not at all. Poll it as often as you like.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Life may be "too short", but it's the longest thing we ever do.
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2010-01-26 09:54
    Yes, all warranties are null and void because the chip is now "second hand" roll.gif

    Short answer.....NO.

    With time displays just update the time when the new reading doesn't match the old.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    *Peter*
  • computer guycomputer guy Posts: 1,113
    edited 2010-01-26 09:55
    Thank you both.

    I thought the ram might have had a maximum amount of reads or something.
    Makes coding a lot easier. smile.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "powered by Propeller" domed stickers $1.50 - Find them here
    Check out my Design and Technology project for my Higher School Certificate www.ecosureblog.net
Sign In or Register to comment.