• 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...
  • Best way to start learning 8051 Assembler
    Hey everyone, I'm very interested in learning how to program using the assembly language of the 8051, I think it will be a good grounding for me to being learning more complex topics... but I know...
  • Why don't I see the new optimization levels?
    I must be obtuse, I cannot find the new opitimization levels in C51 v7.0. Here are my Help->About stats: uVision = 2.30 C51 = 7.00 A51 = 7.00a BL51 = 5.00 LIB51 = 4.23 OH51 = 2.6 S8051 = 2.30 DP51 =...