>> #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 _______________________________________________ Linuxppc-embedded mailing list [email protected] https://ozlabs.org/mailman/listinfo/linuxppc-embedded
