Post Created date
How to use C++ member function as interrupt handler?
Why would you want to make the ISR a member variable? Supposing that it can be done, there will not be "specialized versions" of the ISR for each object you create of the intented...
Tuesday, 26 July 2005 - 07:38
Watchdog Timer Drift
Also, you are not clearing the WDRF flag in the MCSR: Quote:... To avoid (an ethernal loop of time-out resets), the application software should always clear the Watchdog System...
Tuesday, 26 July 2005 - 07:19
Watchdog Timer Drift
Is your WDTON fuse cleared (non-programmed) If not, you're generating a system reset, no matter what you code inside your ISR. IMHO, you don't need the line WDTCSR |= _BV(WDCE...
Tuesday, 26 July 2005 - 07:07
Watchdog Timer Drift
Which device are you using? How do you define WDTO_1S ?
Tuesday, 26 July 2005 - 06:53
uart recieve interrupt
Your code is working as is (simulation, but I'm sure it works in the real device too), maybe your wiring is the problem?
Tuesday, 26 July 2005 - 06:19
uart recieve interrupt
How do you know your interrupt is not called? By the way, which interrupt do you try to use? Once the UART is configured, you send data just by writting to the UDR.
Monday, 25 July 2005 - 09:02
rs232 graphing
You could try to play with the interrupts generated by the timer you're using to do PWM to measure the period of your pulses (well, this also works if you're not using hardware-...
Monday, 25 July 2005 - 08:56
PIC or AVR? I'm a beginner and I need to choose wisely
Hi all! Quote: (if I can only figure out what avr chips to get..it's all so confusing at first) As you said before, you could start with the great AVRButterfly. It's very cost-...
Monday, 25 July 2005 - 08:39
Programming with OSI Layers
Hi Pete, this reference design is for PICs, but I think you could adapt the ideas and a large amount of code to AVR. Hope you find it useful! http://ww1.microchip.com/downloads/en...
Sunday, 24 July 2005 - 09:15
PIC or AVR? I'm a beginner and I need to choose wisely
Well, this topic will be necesarily subjective. As nlsgs said, you can only expect an AVR tendency in this forum! But with the risk of being excerted of this forum ( :wink: ) my...
Sunday, 24 July 2005 - 08:49
calculate timer time
Quote: edit: okay i tried 80000 and it seems closer to a second, so i get a timer interupt every 100 cycles? I think it would be good to clarify a little the Timer's function:...
Sunday, 24 July 2005 - 08:25
calculate timer time
Hi, Since you're using an 8MHz clock, the clock's period is 0.125us. Also, you're using an "overflow" interrrupt on an 8-bit register in mode 1 (clock is not prescaled), so 8MHz/...
Sunday, 24 July 2005 - 08:04

Pages