Post Created date
[TUT] Newbie's Guide to AVR Interrupts
Thanks for posting this. Very useful.
Wednesday, 1 May 2013 - 23:24
Interrupt loops problem
I have it working. :) It turned out to be I had the outer counter to high. When timer was all ready set to a pause of a second or so. So my 100000 was why LED stayed on forever....
Wednesday, 1 May 2013 - 21:17
Interrupt loops problem
theusch: You are right about the size thing and sticking to a single uC. But I am going to do it the dumb way, as I think I will learn more this way (with the three packages). I...
Wednesday, 1 May 2013 - 20:13
Interrupt loops problem
theusch: You have lost me on those questions. I don't know is the answer. I am just guessing at moment. I obtained this timer routine from a book by someone called Chris leaver...
Wednesday, 1 May 2013 - 20:07
Interrupt loops problem
Ok. I did for a while have the LED flashing on and off. Which is not quite what I want. Part of error was not calling my timer init routine. Now its gone back to staying on after...
Wednesday, 1 May 2013 - 19:56
Interrupt loops problem
As per the very good suggestions above, I have modified this now to use volatile values and a timer routine. But I am still having same issue. At moment when power is switched on...
Wednesday, 1 May 2013 - 19:39
Interrupt loops problem
theusch: There is also a sort of kinda plan. I have to eventually build a very tiny trip counter for a winding machine that has to fit into a tiny space. So I thought I could use...
Tuesday, 30 April 2013 - 23:47
Interrupt loops problem
theusch: Skip the middleman would definitely be the sensible option. But the second objective is to get up to speed with Ic2 as I know zero about it. So I thought making that part...
Tuesday, 30 April 2013 - 23:32
Interrupt loops problem
Simonetta: I just quickly checked the timer interrupts and yes I get what you mean. Brilliant. Will give this a go also.
Tuesday, 30 April 2013 - 23:21
Interrupt loops problem
kk6gm: I am going to give that a go. Thanks.
Tuesday, 30 April 2013 - 23:16
Interrupt loops problem
theusch: BTW Thanks for both those links. Both are very helpful.
Tuesday, 30 April 2013 - 23:03
Interrupt loops problem
Those answers came back fast. Was not expecting that speed of response! theusch: I changed that. No idea why I had those ORed. Your points are really welcome and makes total...
Tuesday, 30 April 2013 - 22:58