Subject: Re: Getting the LED light up... (A&M Rattler 8250PCI linux 2.6.13-AM)

From: Robert Staven <[email-masked]>
Date: Mon, 05 Mar 2007 12:21:26 +0100

>> #define P0        0x8000 // P0 bit in registers
 >> #define P1        0x4000 // P1 bit in registers
 >> #define P2        0x2000 // P2 bit in registers
 >
 >
 > Shouldn't that be
 > #define P0        0x80000000 // P0 bit in registers
 > #define P1        0x40000000 // P1 bit in registers
 > #define P2        0x20000000 // P2 bit in registers
 > ?

<shamed>Hmmm, next time I'll better use my calculator figuring out how 
many digits there is in a 32bit hex number... :P </shamed>

Many thanks for the assistance Laurent! (the LED came to life)

And you all may have a good long laugh of me now, I deserve it! :)

br
Robert