Skip to main content
0 votes
0 answers
66 views

I'm getting to grips with the STM32 - I'm using STMCubeMX to configure TIM3 as a basic count timer. The system clock configuration has been left as default so it using the HSI oscillator as the ...
Spice_Weasel's user avatar
4 votes
0 answers
122 views

The Linux version currently in use is 5.10.247. I want to configure a fixed aging time for entries in the Linux neighbor subsystem. As is well known, the function neigh_rand_reach_time() introduces ...
qinghuajun's user avatar
Best practices
1 vote
7 replies
143 views

I'm trying to find a best-practice method to handle an edge case when a hardware clock timer wraps around and the overflown value generates a false positive logic match. For example, on a 16 MHz chip, ...
zero-day's user avatar
  • 402
1 vote
1 answer
72 views

I'm using the timerInterval for the live activity however when the timer expires it doesn't change its status to completed state and I couldn't find a listener to call that Text(timerInterval: Date().....
Golan Shay's user avatar
  • 1,279
Advice
0 votes
0 replies
68 views

I’m working with an MSP430FR5739 and I’m trying to implement a PWM output whose frequency can change dynamically based on an external signal. Here’s the behavior I want: The PWM runs with a maximum ...
user19402326's user avatar
3 votes
1 answer
79 views

Some background: I played around with ATTiny13a with the goal to achieve precise PWM with duty cycle control. Perhaps the easiest way would be to use one of PWM modes of MCU's timer subsystem to ...
PookyFan's user avatar
  • 900
1 vote
0 answers
134 views

I'm using WinMM timers to be able to execute periodic tasks with period of 1 ms. It works great, but in the docs for timeSetEvent function, for example, I see info that the function is obsolete: Note ...
Maxim's user avatar
  • 2,184
0 votes
1 answer
107 views

My buttons work standalone, but when embedded in NavigationStack and other views, the play/pause buttons work sometimes then stops working other times. I've tried: • Checked onAppear • Verified ...
user32104631's user avatar
2 votes
3 answers
271 views

I'd like to be able to make a call (e.g., to an API) from within an Azure function, and make a log entry if it is taking longer than n milliseconds, but not interrupt or end the call. Note this is not ...
Jesse Liberty's user avatar
0 votes
1 answer
145 views

I tried setting the SynchronizingObject like this: timer.SynchronizingObject = this;//The Window but VS told me I need an explicit cast. So I did that and the error went away. timer....
ispiro's user avatar
  • 28.1k
4 votes
2 answers
247 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
1 answer
173 views

I have the following program that just runs a timer for 5 seconds and has a signal handler. #include <boost/asio.hpp> #include <chrono> #include <iostream> #include <signal.h> ...
Pavel Krasnopevtsev's user avatar
4 votes
4 answers
395 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
0 votes
0 answers
31 views

I have an issue with the Lightness setup server set cb being triggered without a connected device and is not internally called in my code. Yet for some reason the set cb is triggered every time my ...
Dries Vandenbussche's user avatar
2 votes
1 answer
134 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
  • 478

15 30 50 per page
1
2 3 4 5
1311