Shop OBEX P1 Docs P2 Docs Learn Events
Stamp Timing Accurracy — Parallax Forums

Stamp Timing Accurracy

YianieYianie Posts: 49
edited 2012-12-11 10:14 in BASIC Stamp
I am building a remote start for my car that will engage at a specific time. I have programmed the minutes and seconds correctly, but the PAUSE 1000 is not accrrate to 1 second. Am I doing something wrong?

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2012-12-10 10:24
    You are probably not accounting for overhead time in the code, however the bigger issue is that to use the BASIC Stamp module in an RTC capacity would cause it to have to stop every second to wait out that second. I would recommend adding an external RTC such as the DS1302 to handle the time-keeping functions so the BASIC Stamp module isn't essentially locked-up for one second roughly every second. Especially in an application like this.
  • YianieYianie Posts: 49
    edited 2012-12-11 10:14
    Makes sense. Thank you, John
Sign In or Register to comment.