How can I install nested interrupts? With the key-word __irq is that not possible.
Bernd
Does anyone have a routine that will convert UTC time to Local time according to latitude position given from GPS Nema data. Looking for something in assembly as that is what I have already written my code in. Help is always greatly appreciated. I suppose I would need to create some sort of table of coordinates with the time differences ie... EST = UTC-5 and also convert 24 hour format to 12 hour and correct for the the date if UTC is ahead by a day from EST. Such as UTC is 01:00:00 but EST is 01:00:00 - (minus) 05:00:00, which would put UTC ahead one day.
Thanks, Alain
First off: latitude is the distance north/south, so I assume that you mean longitude.
The problem is that the time zones doesn't follow exactly the longitude - they follow country borders instead.
If they did follow longitude, you would only need to check the longitude and know that there are a 15-degree difference between every time zone (24*15 = 360 degrees).
If you look at the following link, it will be obvious why the GPS coordinate is hard to use:
http://www.worldtimezone.com/
By the way - why post time-zone questions in a thread about interrupts? Because it takes too long time to create a thread of your own?