Post Created date
ATmega324 Asynchronous timer wakeup
Ahh really. Crap! i could have sworn i was reading the code right. :) May i ask another stupid question & say. Is it bad/illegal to use a 1 in a while statement? If so that...
Monday, 30 April 2012 - 22:25
ATmega324 Asynchronous timer wakeup
theusch, your confusing me more but i know im incredibly slow. If you are saying Quote: while ((ASSR & ((1<<TCN2UB)|(1<<OCR2AUB)|(1<<OCR2BUB)|(1<<...
Monday, 30 April 2012 - 21:53
ATmega324 Asynchronous timer wakeup
Thanks for that sternst it confirmed what i was thinking, why didn't you say that at the start :) Its kind of tricky if i leave out the ASSR as that is what i consider to be the...
Monday, 30 April 2012 - 21:27
ATmega324 Asynchronous timer wakeup
Even reading that example im not 100% sure what you are saying. Anyway do you know what could be causing the problem above?
Monday, 30 April 2012 - 13:31
ATmega324 Asynchronous timer wakeup
Quote: while ((ASSR & (1<<TCN2UB)&(1<<OCR2AUB)&(1<<OCR2BUB)&(1<<TCR2AUB)&(1<<TCR2BUB)) == 1); Wrong in two ways. Left side of ==...
Monday, 30 April 2012 - 10:42
ATmega324 Asynchronous timer wakeup
It just goes to sleep & doesn't wake up. Sometimes it might work & then others it wont. Update: Its like the timer doesn't get setup properly because if i add a one second...
Monday, 30 April 2012 - 07:35
Atmega32u4 Interrupt
Offensive language removed. Further similar outburts will be reported which may result in a ban. Thread locked - JS.
Thursday, 22 March 2012 - 05:26
Atmega32u4 Interrupt
You have to spell it out for the simple folk, i said it was confusing. I knew you would have some cheap comeback like that. Im glad someone understands the fine points of the...
Thursday, 22 March 2012 - 01:46
Atmega32u4 Interrupt
Ok here is the code to wake it from sleep using edge triggering. It seems you can use pin change interrupt to wake the device from sleep. That was vague for me in the data sheet...
Thursday, 22 March 2012 - 00:03
Atmega32u4 Interrupt
Quote: I mean: Are you measuring input power to the regulator, or to the AVR? Damn i meant to say after the regulator. I know the test regulator i have draws 1mA. I might look...
Monday, 19 March 2012 - 23:16
Atmega32u4 Interrupt
Thanks for that Lennart im not sure how its done either its not sleep(); i tried it. I think the line i added tells the C compiler a certain part of it is asm & to use it....
Monday, 19 March 2012 - 22:58
Atmega32u4 Interrupt
I'm measuring current draw with my fluke 189, it has a uA scale if i need it. It wasn't going that low only about 5mA. Its true about the Low-level interrupts keep triggering if...
Monday, 19 March 2012 - 21:43

Pages