• Servo controlling program
    I've written this program for AT89S52 to control a servo.The signal pin of the servo is connected to the P1_0 of the chips and a LED is connected to the P2_7 of the chip.When I turned the circuit on...
  • 8052 and servo control
    I looked for servo control code based on 8051/2 but have not found any yet. Can 8052 control a servo motor?
  • 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 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)...
  • Controlling of Servo Motor Using LPC11C24
    I am having an FS90R Continous Servo Motor with 3 wires. 1.Vss 5V 2.PWM Signal 3. Gnd I have already initalized the PWM Signal through 16bit Timer Function from LPC11C24 Sample Program...