Skip to main content

Questions tagged [timer]

Timer is a component that has the functionality to trigger a user defined action at regular intervals as configured by the user.

0 votes
0 answers
6 views

Timer Increments By One Whenever User Tries To Reset It Back To Zero In Android

I made a standard stopwatch app in Android Studio using jetpack compose. It gives the user the ability to reset the stopwatch back to zero, however there is a problem. The stopwatch will reset back to ...
Bob Rasner's user avatar
1 vote
0 answers
20 views

Captures keep giving me the same value when enabling both channels of TIM4 in Input Capture Mode

Hardware: Test bench that generates two PWM signals ( A and B ) Cable that connect the test bench to the other board Other board that retrieves the PWM signals (Port D pin 12 and 13 ) and has to ...
Aiman's user avatar
  • 31
0 votes
0 answers
17 views

While getting the time from the RTC on the ESP32, there are gaps in milliseconds

I am using a timer interrupt on the ESP32 that triggers every 1ms. However, when I read the millisecond time from the RTC, there are gaps between the millisecond values. How can I solve this issue? I ...
sema's user avatar
  • 11
0 votes
1 answer
23 views

AHK Multiple clocks showing time from different time zones

Good day, I'm trying to create a script for AutoHotKey (AHK) which would show in a GUI multiple digital clocks (with different time zones). I already created a simple script with 3 different clocks ...
Neelfinity's user avatar
1 vote
1 answer
56 views

How to properly read PWM Duty Cycle using Two Timer (TIM4) Channels?

Library used: Standard Peripheral Library Hardware: Test bench that can generate two pwm signals ( A and B ) Cable that connects the test bench to the other board Other board that should read the ...
Aiman's user avatar
  • 31
0 votes
0 answers
38 views

Visual Basic Timer more faster [closed]

I'm searching the net without success for a way to make the "Timer" object faster. I have read in various forums that it has a maximum accuracy of 55 milliseconds. I would like to understand ...
MizzardNet7 Net7's user avatar
-1 votes
0 answers
18 views

How to send a running Task into an indefinite block state from another function?

Project: I have a Task1 that will be printing a message into the serial monitor. I'm using a software timer that will start and after 5 seconds it will expire and send Task1 into a block state so that ...
tadm123's user avatar
  • 8,698
0 votes
0 answers
14 views

How to include require:timer in the 200 OK message after receiving an UPDATE message in freeswitch

FS :Version 1.10.11-release 64bit I need to reply to the IMS server when receiving an UPDATE message and add require:timer to the message. I also used <action application="set" data=&...
user26373099's user avatar
-8 votes
0 answers
45 views

How can I make the time run automatically every second in C#? [closed]

It's a playstation display .. the time changed when I use event handler on this label .. I need it changing automatically every second (screenshot) how I use the timer in this case with C# please? and ...
Amr Seyam's user avatar
0 votes
0 answers
18 views

Simple Android Timer App runs until API33 but crashes with API34 or 35

I wrote a simple android app in Android Studio. It shows a button that starts a timer that plays a sound every X minutes until stopped with another button. I use the following code that ran fine up to ...
BeeJayF's user avatar
  • 175
0 votes
2 answers
61 views

Bash child scripts - Timer interuptable by signals - read, timeout and sleep doesn't work

So, I'm on Arch Linux, running i3 I have a slideshow script that changes the background every 5 seconds. And I have a bunch of signals, such as toggle, next, previous, faster, slower. I have all of ...
Self learning student's user avatar
0 votes
0 answers
31 views

No PWM output on STM32WLE5

I'm trying to generate PWM output on RAK3172-SIP built with STMWLE5CCU6 without success. My goal is to generate PWM outut on PA8 and PA9, but for the moment I can't generate PWM on one pin... Here is ...
simon's user avatar
  • 1,214
-6 votes
2 answers
97 views

Thread is not running, how do I start the thread to make it run every 300ms [closed]

I'm trying to get this to run every 300ms but it doesn't run at all var gametick = new System.Threading.Timer((e) => { //stuff }, null, 0, TimeSpan.FromMinutes(Convert....
Tilak Rao's user avatar
0 votes
0 answers
41 views

Alternate between three different animations over timer cycles using SwiftUI?

I want to run three different animations, A , B ,C, A, B, C alternating like that, over different time periods, like 30s(A), 10s(B), 10s(C), 40s(A), 10s(B), 10s (C), 50s(A), 10s(B), 10s(C) etc for ...
ProgrammerTrying's user avatar
-3 votes
0 answers
46 views

Handling pomodoro logic in background (SwiftUI/iOS)

I'm working on a Pomodoro app for educational purposes. I use Timer for UI updates and making ticks every second to update state time delta's and using time elapsed to calculate time remaining and all ...
katpil320's user avatar

15 30 50 per page
1
2 3 4 5
1313