What is running_time max

Questions and discussion about running MicroPython on a micro:bit board.
Target audience: MicroPython users with a micro:bit.
Post Reply
rhubarbdog
Posts: 168
Joined: Tue Nov 07, 2017 11:45 pm

What is running_time max

Post by rhubarbdog » Tue Nov 20, 2018 9:39 pm

I have written a program which derives `microbit.running_time()` maximum. When `last` is greater than `microbit.running_time()` it stops and reports `last`.
The value it reports is 3200432, which is the maximum within 500ms or so.
What is the maximum value for running time? I thought it would be an unsigned int16 or unsigned int32.
How many bits wide is `microbit.running_time()` ?
Is it signed?

Post Reply