Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
4 votes
2 answers
3k views

Software timers and interrupts on a microcontroller

I have few questions on software timers and interrupts on a microcontroller. Just for information, I use a dsPIC33E microcontroller. The final goal is to implement a serial communication protocol: ...
Marko Gulin's user avatar
  • 1,633
1 vote
3 answers
333 views

Computer peripherals to immediately (<5ms) detect digital input state change in C# programs

The C# application I'm working on needs to be able to be able to call a function within 5 milliseconds of a digital input signal's state change (0V = off, 5V = on). Rather than using software to ...
JoseOrtiz3's user avatar
7 votes
1 answer
2k views

Tell if interrupts are enabled

Is there a way of telling if sei()/interrupts() or cli()/...
Tyilo's user avatar
  • 377
5 votes
2 answers
3k views

How can I control things without using delay?

I have always hated that you couldn't do other things while you used the delay(); function. However, I want to blink a LED or do whatever while using serial, but ...
Anonymous Penguin's user avatar
0 votes
3 answers
2k views

Interrupt when a variable passes a threshold

I am programming the code for a LM4F120 Stellaris Launchpad, and I need a method to activate a software interrupt when the value of a particular variable exceeds a predefined threshold value. When the ...
Jigar4Electronics's user avatar
2 votes
1 answer
3k views

image distortion generating VGA signal on STM32 f4 using DMA

I'm trying to build a video generator using the STM32f4 (168MHz, using discovery board) + R ladder DAC to the VGA signal. The idea is not to be based on a framebuffer (this would limit the resolution ...
makapuf's user avatar
  • 131