Skip to main content
Filter by
Sorted by
Tagged with
4 votes
2 answers
148 views

When my application starts, I launch an animation. Now I would like to switch to another component (navbar) after 30 seconds. In my research, I saw that the delay function from the Kotlin Coroutines ...
Yann Djomo's user avatar
4 votes
4 answers
343 views

I have a WPF project, and in some of the async event handlers in the WMain.xaml.cs I am using the Task.Delay method to suspend the execution of the handler. Example: private async void Window_KeyDown(...
Theodor Zoulias's user avatar
2 votes
1 answer
108 views

I am using MPLAB X IDE version 5.43 to develop an embedded project for a PIC18F8722 microcontroller. It has a timer TMR0 which can be configured to be 32 bits. I had lots of statements: TMR0L = 0; ...
Guille's user avatar
  • 472
0 votes
0 answers
68 views

I'm trying to make a terminal quiz that has a timer running in the background while you answer the question, which, once finished, overrides the input if it hasn't been filled. I've tried putting the ...
Paint_thetownred154's user avatar
1 vote
1 answer
77 views

So I want to use a capture compare to measure an input frequency 0.1 Hz to 100 kHz. The peripheral clock is set to 32 MHz to cover the full range and maximise the speed of calculations. At lower ...
Paul S's user avatar
  • 11
0 votes
2 answers
85 views

i am trying to use a countback from a certain date, and want it to read something like (100d, 10hrs, 10sec). the countback does this fine, except it reads as (-100d, -10hrs, -10sec). is there a way to ...
amouru's user avatar
  • 17
0 votes
1 answer
117 views

I have a timer within Excel VBA code which did run smooth untill 6 weeks ago. Please see the code below. I use this timer in a workbook. I use 2 identical copies of this workbook (with different names)...
user2165379's user avatar
2 votes
1 answer
56 views

I'm working on a project that needs 3 pwm outputs. I'm already tried with timer 2,3,4, and they work fine with my library. But I wanted to port my pwm library to timer 1 and now I see that A8, A9, A10 ...
ALI's user avatar
  • 31
1 vote
0 answers
48 views

Preface: First time asking a question, please take it easy with the "YOU SHOULD FORMAT YOUR QUESTIONS THIS WAY!" Question: Why does this happen? I'm programming an esp32 S3 dev module using ...
yhq80's user avatar
  • 11
0 votes
0 answers
57 views

I am trying to make the simplest timer program in C. My attempt is as follows: #include <stdio.h> #include <time.h> int main() { char c; time_t start, end; long int day, ...
Vinayak Deshmukh's user avatar
1 vote
0 answers
105 views

I am trying to build a cross-platform threaded timer function in C++. Here is what I have so far (posted also in Statically linked pthread and terminate called after throwing an instance of 'std::...
sdbbs's user avatar
  • 5,948
1 vote
1 answer
141 views

I am trying to get a hardware timer in an ESP32 to start and stop based on states in a FSM.I have read quite a few ESP32 Timer Howtos, and I am still not getting it to work. The timer functions ...
user1045680's user avatar
-1 votes
1 answer
66 views

My code is: import random from inputimeout import inputimeout, TimeoutOccurred # todo inputs b = input("press enter to start") lowest_numb = input("lowest number") ...
user29961513's user avatar
1 vote
0 answers
52 views

I have a Delphi 12 app that launches several threads that execute a task, that is, the same task repeated in N threads, there are no critical sections, no blocking or any other complications. Inside ...
Robe79's user avatar
  • 69
2 votes
2 answers
381 views

I'm facing an issue with the update event triggering in STM32G4 TIM1. I've configured TIM1 to generate PWM signals and set the update event to Center-Aligned Mode 1. However, I've noticed that the ...
amirparto's user avatar
0 votes
1 answer
159 views

I have an inactivity timer that keeps checking for inactivity throughout the app. The problem is, when message box is open, the timer is not ticking and checking for inactivity as long as the ...
nikhil's user avatar
  • 1,764
1 vote
0 answers
85 views

I'm currently investigating a crash scenario that is caused by performing a Boost yield inside a C++ catch block. Here's a minimal reproducible example that leads to a crash. Notice the following ...
Zohar81's user avatar
  • 5,214
0 votes
0 answers
30 views

Problem I'm developing a Flutter application with multiple simultaneous timers. These timers need to keep running correctly even when the user: Navigates away from and back to the page Closes and ...
Anderson André's user avatar
1 vote
1 answer
62 views

Timer error 1 in STM8S003F3P I am writing code to create overflow 1s = Timer 1 to reduce the remaining_sec variable from 60 to 1. But the Timer often hangs for a while at random times. For example, ...
thanh cong's user avatar
0 votes
1 answer
63 views

I want to create a 24 hour sale timer and display it inside button. I am using this code but don't know how to stop this timer. This is my code. In this example I use 35 second to test this faster: ...
user1342352532's user avatar
1 vote
2 answers
95 views

I am trying to control all 4 TIM4 pins for PWM signal using DMA. Can I send data to each pin with single DMA stream ? When I setup the pins and DMA in STM32 IDE it links the TIM4 Channel 1 pin to DMA1 ...
Ondřej Dušek's user avatar
0 votes
0 answers
72 views

I have a custom Timer class in C++ that uses std::async to run a timer in a separate thread. The problem I'm facing is that when I call start() on the same Timer object consecutively with no delay, ...
sleepyhead's user avatar
1 vote
2 answers
116 views

The central part of my App is a timer. Thus far this was the Code (taken out of the main Codebase to be minimum reproducible): import SwiftUI struct TestView: View { @State var countdownTimer = ...
Sphere's user avatar
  • 37
0 votes
0 answers
56 views

I'm working on a watchOS timer app that needs to run for 3 1/2 minutes while showing countdown numbers. I think that I've discovered that there's nothing to do with the watch dimming- that's a system ...
Dribbler's user avatar
  • 4,751
1 vote
1 answer
153 views

I am having some problems with timers: I cannot identify the reason why this is not working properly: use std::sync::{Arc, Mutex}; use timer::Timer; struct Counter { value: i32, } impl Counter {...
Umberto Gotti's user avatar

1
2 3 4 5
394