Re: [avr-gcc-list] light up and led

2005-10-07 Thread Patrick Blanchard
On Fri, 2005-10-07 at 17:52 +1000, Timothy Smith wrote: ok i understand about interupts. you register an interupt() for the specific event and when it happens it interupts the ic and runs it. the timer stuff is still a little confusing, all the abreviations are unintuitive. is there a

[avr-gcc-list] Compile problem

2005-10-07 Thread Razvan Turiac
I think I have a compile problem. I am using WinAVR 20050214 and I've got one problem when compiling some code. The assembler code is all wrong. Attached are a simple C source (I have isolated the problem), and the generated assembeler file. The problem is in function wait. Take a look in

Re: [avr-gcc-list] light up and led

2005-10-07 Thread Joerg Wunsch
On Fri, 2005-10-07 at 17:52 +1000, Timothy Smith wrote: the timer stuff is still a little confusing, all the abreviations are unintuitive. You mean the bit names? They come straight from Atmel's datasheet. Usually, with a bit of phantasy, you could guess what they mean. /* tmr1 is

Re: [avr-gcc-list] Compile problem

2005-10-07 Thread Joerg Wunsch
Razvan Turiac [EMAIL PROTECTED] wrote: Attached are a simple C source (I have isolated the problem), and the generated assembeler file. The problem is in function wait. You should have explained what you think the problem is... But my crystal ball told me you might mean this: .L4:

Re: [avr-gcc-list] Compile problem

2005-10-07 Thread Dave Hansen
From: Patrick Blanchard [EMAIL PROTECTED] On Fri, 2005-10-07 at 08:24 -0700, Razvan Turiac wrote: I think I have a compile problem. I am using WinAVR 20050214 and I've got one problem when compiling some code. OK, but you need to show us the compiler errors received... You have to scan