Jallist Archive Aug 2004

Re: Interrupts, variable scope

From: "japus10" <japus13(at)telefonica.net>
Date: 03 Aug 2004 09:27:08 -0000

Hi Vasile,


> >   Why?
> 
>   I found this problem too, long time ago. I'we made a copy of the
> time register in ISR and then use the copy in the main. Then
> everything works even was a complete nonsense.

  You have used interrupts for a long time, and you're with me that 
managing this type of vars in ISR and main at same time are 
dangerous. But this don't mean that don't work or you can't use them!

  ... or ... 
  What about your roman's clock with interrupts? (newclk.txt) ;)


Regards,
Javi.
www.japus.org









Seiz System Engineering AbelCam AbelCam WebCam Software for Windows