• fastest microcontroller
    among AVR 8051 PIC which is the fastest microcontroller in I2C,SCI,RS232 and SPI which communication is fastest?
  • Best way to see "optimizations"
    Hello everyone, So, I have a program I'm working on an 8051W core chip using Keil's C51 software and have a loop that looks like this: /* If Pressure2 is saturated low*/ if ((Pressure2>>3)...
  • Best way to control a servo?
    Hi, This might be a little OT but I've been exploring a few new ways of controling a servo. I'm using a 8051 board of my own design, a Hitec HS300BB servo and the control line of the servo is connected...
  • the best way to shift
    <Code> #define BITS_TO_ROTATE 2 b=(a>>(8-BITS_TO_ROTATE))+(a<<BITS_TO_ROTATE); After lots of research and experimentation we have determined that this is often the best way as it gives the compiler...
  • Best way to make 250ns period
    Hello, I need to make a 0.25us period timer for my 1-wire bus. How can this be implemented best? I have my CPU (LPC2378) running at 48MHz. Can this be achieved best with the use of timers? I...