Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Re: float in interrupt function?

2005-04-09 by Robert Adsett

At 11:24 AM 4/9/05 +0000, ed_hage wrote:
>Already changed int to unsigned long because I also have defined some
>other variables that way which I can manipulate with another
>IRQfunction. But the results are the same.

On an ARM the only difference between an int and an unsigned long is the 
sign bit.  If you are changing to prevent overflow that won't be any help 
you would need to use a long long intermediate.

Robert

" 'Freedom' has no meaning of itself.  There are always restrictions,   be 
they legal, genetic, or physical.  If you don't believe me, try to chew a 
radio signal. "  -- Kelvin Throop, III
http://www.aeolusdevelopment.com/

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.