B4R Question Maximum time running????

Discussion in 'B4R Questions' started by hatzisn, Jul 17, 2019.

  1. hatzisn

    hatzisn Active Member Licensed User

    Check out the code in this thread:
    https://www.b4x.com/android/forum/threads/see-human-readable-arduino-running-time.107735/


    According to this with the maximum number of Ulong as well as the millis as ULong you get:
    1193:02:47.295

    Which corresponds to:
    49 days 17 hours 2 minutes 47 seconds and 295 milliseconds.

    What happens in the next millisecond? Does it go back to zero? I suppose the register does not have enough positions and a bit is lost in the beggining living all the zeros... Right?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    It will go back to zero.
     
  3. hatzisn

    hatzisn Active Member Licensed User

    Thanks, I thought so...
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice