• Avoiding macro using 32 bits shift warning
    Hi, I use below macro #define SFRX(Sfr,Msk) (Sfr=((Sfr & (~ ((Msk)>>8)) ) |(Msk))) to simply both Set and Reset specified bits in some register. If I write SFRX ( MyReg , 0x0100 ) this macro...
  • Avoiding macro using 32 bits shift warning
    Hi, I use below macro #define SFRX(Sfr,Msk) (Sfr=((Sfr & (~ ((Msk)>>8)) ) |(Msk))) to simply both Set and Reset specified bits in some register. If I write SFRX ( MyReg , 0x0100 ) this macro...
  • Home Made Digital Tachometer for my Car with Gear Shift Warning LED
    Home Made Digital Tachometer for My Car with LED Bar Graph and Gear Shift Warning LED HI, THIS IS MY FIRST POST HERE I build this tacho coz my car doesn't hv any factory fitted Tachometer. Even...
  • Home Made Digital Tachometer for my Car with Gear Shift Warning LED
    Home Made Digital Tachometer for My Car with LED Bar Graph and Gear Shift Warning LED HI, THIS IS MY FIRST POST HERE I build this tacho coz my car doesn't hv any factory fitted Tachometer. Even...
  • Strange warning L16 (LX51)
    Very simple code: #define LEVELS 8 unsigned int code table[LEVELS] = { 1, 8, 27, 64, 125, 216, 343, 512 }; unsigned int get_distance (void) { unsigned char ii; ii = 3; // return table[ii]; /...