+ Reply to Thread
Results 1 to 4 of 4

Thread: softRTC maybe a problem?

  1. #1

    Default softRTC maybe a problem?

    I had this same exact program that use to run, or keep time fairly well, back before simpletools was created. Now I ran this program on my ActivityBot and my PropBOE board, the results are the same, in a ten minute run of the program it looses about six minutes. I wonder if somebody else could try this and see if they are getting the same or similar results. This was done in simple view, I added <time.h> and <sys/rtc.h>, maybe the experts can look at it and see if there are some glaring mistakes.

    Ray
    Attached Files Attached Files

  2. #2

    Default Re: softRTC maybe a problem?

    You are missing some code.

    http://forums.parallax.com/showthread.php/148030-Soft-RTC?p=1184427&viewfull=1#post1184427

    Code:
     _rtc_start_timekeeping_cog(); // <---- important.
    
    
      print("This is softRTC\n");
      print("help - for menu\n");
    I have no special talents. I am only passionately curious. Einstein
    ~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v~^~v ~^~v~^~v~
    Learn Parallax PropellerC: http://learn.parallax.com/propeller-c
    PropellerGCC Documents: http://sites.google.com/site/propellergcc
    PropellerGCC Wiki Page : http://code.google.com/p/propgcc/w/list
    PropellerC Arduino Code : tonokip project SeeedStudio 2.8" LCD V1.0
    CommunityGCC Libraries: propware and libpropeller

    Linux/Mac/Windows PropellerIDE: PropellerIDE Forum Thread

  3. #3

    Default Re: softRTC maybe a problem?

    Thanks jazzed. It was not just a senior moment, it was a senior episode... Anyway, now the program is working as expected, which also explains why I might be having problems with the other program.

    Ray

  4. #4

    Default Re: softRTC maybe a problem?

    Moved from Learn to Propeller GCC.

+ Reply to Thread

Similar Threads

  1. Replies: 3
    Last Post: 04-21-2008, 12:26 PM
  2. String problem or data type problem ?
    By grasshopper in forum Propeller 1 Multicore Microcontroller
    Replies: 2
    Last Post: 11-02-2007, 03:29 AM
  3. Problem with the Pink. ( Software problem)
    By Joe in forum BASIC Stamp
    Replies: 12
    Last Post: 08-04-2007, 12:06 AM
  4. Replies: 7
    Last Post: 12-07-2006, 03:47 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts