Search found 2 matches

by zipdots
Mon Jul 25, 2022 5:11 pm
Forum: ESP8266 boards
Topic: time.ticks_ms overflow
Replies: 5
Views: 30505

Re: time.ticks_ms overflow

Thanks for your help! I did not fully understand what would happen if, after overflowing time.ticks_ms() returned a value less than the one we stored. I ran a small loop and made sure that time._ticks_diff() really detects rollover correctly: start_time = time.ticks_us() while True: current_time = t...
by zipdots
Mon Jul 25, 2022 2:08 am
Forum: ESP8266 boards
Topic: time.ticks_ms overflow
Replies: 5
Views: 30505

time.ticks_ms overflow

Hello! I recently started learning micropython and I apologize in advance for the question I want to ask, as I understand that most likely the answer to it has already been given, but I could not find it :( Tell me, what is the maximum value that ticks_ms can return, what happens when it overflows, ...